CMake: No separate name for slsdet9 (using subdirectory in Gitea) + call .deb package jfjoch_broker
This commit is contained in:
+2
-6
@@ -204,11 +204,7 @@ ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
# Set Package Name
|
||||
# Initialize CPACK_COMPONENTS_ALL with common components
|
||||
set(CPACK_COMPONENTS_ALL jfjoch writer)
|
||||
if (SLS9)
|
||||
set(CPACK_PACKAGE_NAME "jfjoch-slsdet9")
|
||||
else()
|
||||
set(CPACK_PACKAGE_NAME "jfjoch")
|
||||
endif()
|
||||
set(CPACK_PACKAGE_NAME "jfjoch")
|
||||
|
||||
# Add optional components
|
||||
if (JFJOCH_INSTALL_DRIVER_SOURCE)
|
||||
@@ -234,7 +230,7 @@ if (EXISTS "/etc/debian_version")
|
||||
# Debian/Ubuntu: .deb with components
|
||||
set(CPACK_GENERATOR "DEB")
|
||||
set(CPACK_DEB_COMPONENT_INSTALL ON)
|
||||
set(CPACK_DEBIAN_MAIN_COMPONENT jfjoch)
|
||||
set(CPACK_DEBIAN_MAIN_COMPONENT broker)
|
||||
set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT")
|
||||
|
||||
# Enable automatic shlib dependency discovery
|
||||
|
||||
Reference in New Issue
Block a user