From 133b21e1bdb806dcd5b6cf41c721f090ddfc86b7 Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Thu, 24 Oct 2019 16:11:35 +0200 Subject: [PATCH] updated build targets --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fdedb1c..4c82b7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,8 +43,6 @@ IF (UNIX) FIND_PROGRAM(RPMBUILD_EXECUTABLE rpmbuild) FIND_PROGRAM(DEB_EXECUTABLE dpkg) - message(STATUS ${DEB_EXECUTABLE}) - SET(CPACK_GENERATOR "TGZ;TBZ2") #check if rpm build is possible @@ -83,7 +81,7 @@ IF (UNIX) ENDIF (UNIX) #todo all -add_custom_target(build-linux-packages ALL +add_custom_target(build-linux-packages "${CMAKE_COMMAND}" --build "${CMAKE_BINARY_DIR}" --target package DEPENDS ${PROJECT_NAME} COMMENT "Installing ${PROJECT_NAME}")