Improve CPack deb generation
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user