Skip to content

Commit

Permalink
Fixes for and to ubuntu packaging scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
flithm committed Nov 13, 2007
1 parent 7a04ec9 commit 4dda3ec
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions libGizmod/CMakeLists.txt
Expand Up @@ -82,6 +82,8 @@ add_library(Gizmod SHARED
X11FocusWatcher.cpp
)

set_target_properties(Gizmod PROPERTIES VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}" SOVERSION "${CPACK_PACKAGE_VERSION_MAJOR}")

#################################
# Linking
##############
Expand Down Expand Up @@ -115,6 +117,10 @@ install(
include/gizmod
)

install(TARGETS Gizmod
LIBRARY DESTINATION lib
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/libGizmod.so.${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}
${CMAKE_CURRENT_BINARY_DIR}/libGizmod.so.${CPACK_PACKAGE_VERSION_MAJOR}
${CMAKE_CURRENT_BINARY_DIR}/libGizmod.so
DESTINATION
lib
)

0 comments on commit 4dda3ec

Please sign in to comment.