Improve CPack deb generation

This commit is contained in:
2026-03-06 01:12:46 -04:00
parent c90f974bcb
commit a1fd39eb05
11 changed files with 135 additions and 23 deletions
+8 -1
View File
@@ -20,6 +20,11 @@ if(ENABLE_STIMBUFFAPI_livoxGen1)
openClKernels.cl.S
)
set_target_properties(livoxGen1 PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
)
# Set assembler working directory so .incbin can find the .cl file
# Also declare dependency on collateDgrams.cl and slotCompactor.cl
set_source_files_properties(openClKernels.cl.S PROPERTIES
@@ -54,5 +59,7 @@ if(ENABLE_STIMBUFFAPI_livoxGen1)
)
# Install rules
install(TARGETS livoxGen1 DESTINATION lib)
install(TARGETS livoxGen1
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} NAMELINK_SKIP
)
endif()
+8 -1
View File
@@ -11,6 +11,11 @@ if(ENABLE_STIMBUFFAPI_xcbWindow)
xcbWindow.cpp
)
set_target_properties(xcbWindow PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
)
target_include_directories(xcbWindow PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../../include
@@ -26,5 +31,7 @@ if(ENABLE_STIMBUFFAPI_xcbWindow)
attachmentSupport)
# Install rules
install(TARGETS xcbWindow DESTINATION lib)
install(TARGETS xcbWindow
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} NAMELINK_SKIP
)
endif()