From 07b84f3111696b28c961028f9dfedfb2ce42eca4 Mon Sep 17 00:00:00 2001 From: Weiming Zhao Date: Tue, 30 Nov 2021 05:30:32 +0000 Subject: [PATCH] [CMake] installl analyzer and build deb package --- cmake/modules/halo_install.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/halo_install.cmake b/cmake/modules/halo_install.cmake index 96917d1f5..1805edf95 100644 --- a/cmake/modules/halo_install.cmake +++ b/cmake/modules/halo_install.cmake @@ -16,7 +16,7 @@ # Install halo -install(TARGETS halo halolib +install(TARGETS halo halolib analyzer RUNTIME DESTINATION bin LIBRARY DESTINATION lib INCLUDES DESTINATION include/halo @@ -43,7 +43,7 @@ install(DIRECTORY ${CMAKE_BINARY_DIR}/odla_docs/html install(FILES ${CMAKE_BINARY_DIR}/odla_docs/latex/refman.pdf DESTINATION docs/odla RENAME ODLA_reference.pdf OPTIONAL) -set(CPACK_GENERATOR "TBZ2") +set(CPACK_GENERATOR "TBZ2;DEB") string(TOLOWER "${CPACK_SYSTEM_NAME}" os) if (os MATCHES "centos.*") set(CPACK_GENERATOR "TBZ2;RPM")