From aaf7fc7c3fdf6a0ae13e7495aa2f9308816b0567 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 30 Dec 2010 20:28:29 -0500 Subject: [PATCH] Install to "." makes libraries install into very bad (and non-working) locations. Put them in lib like they're supposed to be...(and like they are elsewhere in the app) --- libportfwd/CMakeLists.txt | 2 +- src/libtomahawk/CMakeLists.txt | 2 +- src/sip/jabber/CMakeLists.txt | 2 +- src/sip/zeroconf/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libportfwd/CMakeLists.txt b/libportfwd/CMakeLists.txt index b95d603b8..ad0799f9f 100644 --- a/libportfwd/CMakeLists.txt +++ b/libportfwd/CMakeLists.txt @@ -46,6 +46,6 @@ ENDIF() # ) #TARGET_LINK_LIBRARIES(portfwd-demo portfwd) -INSTALL(TARGETS portfwd ARCHIVE DESTINATION .) +INSTALL(TARGETS portfwd ARCHIVE DESTINATION lib) #INSTALL(TARGETS portfwd-demo RUNTIME DESTINATION bin) #INSTALL(DIRECTORY include/portfwd DESTINATION include PATTERN "*~" EXCLUDE) diff --git a/src/libtomahawk/CMakeLists.txt b/src/libtomahawk/CMakeLists.txt index e9f8893c3..df324b8f6 100644 --- a/src/libtomahawk/CMakeLists.txt +++ b/src/libtomahawk/CMakeLists.txt @@ -147,4 +147,4 @@ target_link_libraries( tomahawklib qjson ) -install( TARGETS tomahawklib DESTINATION . ) +install( TARGETS tomahawklib DESTINATION lib ) diff --git a/src/sip/jabber/CMakeLists.txt b/src/sip/jabber/CMakeLists.txt index 5520c5de1..58457f994 100644 --- a/src/sip/jabber/CMakeLists.txt +++ b/src/sip/jabber/CMakeLists.txt @@ -39,4 +39,4 @@ IF( APPLE ) SET( CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-undefined dynamic_lookup" ) ENDIF( APPLE ) -install( TARGETS sip_jabber DESTINATION . ) +install( TARGETS sip_jabber DESTINATION lib ) diff --git a/src/sip/zeroconf/CMakeLists.txt b/src/sip/zeroconf/CMakeLists.txt index 10de7e856..dc4fe04a3 100644 --- a/src/sip/zeroconf/CMakeLists.txt +++ b/src/sip/zeroconf/CMakeLists.txt @@ -37,4 +37,4 @@ IF( APPLE ) SET( CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-undefined dynamic_lookup" ) ENDIF( APPLE ) -install( TARGETS sip_zeroconf DESTINATION . ) +install( TARGETS sip_zeroconf DESTINATION lib )