diff --git a/telldus-core/client/CMakeLists.txt b/telldus-core/client/CMakeLists.txt index 1d5d3b1f..5f328c63 100644 --- a/telldus-core/client/CMakeLists.txt +++ b/telldus-core/client/CMakeLists.txt @@ -115,14 +115,14 @@ SET_TARGET_PROPERTIES(${telldus-core_TARGET} PROPERTIES ) SIGN(${telldus-core_TARGET}) -IF (NOT LIBRARY_DIR) - SET(LIBRARY_DIR "lib") -ENDIF (NOT LIBRARY_DIR) +IF (NOT LIB_INSTALL_DIR) + SET(LIB_INSTALL_DIR "lib") +ENDIF (NOT LIB_INSTALL_DIR) IF (UNIX) INSTALL(TARGETS ${telldus-core_TARGET} - LIBRARY DESTINATION ${LIBRARY_DIR} - ARCHIVE DESTINATION ${LIBRARY_DIR} + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR} FRAMEWORK DESTINATION "/Library/Frameworks" PUBLIC_HEADER DESTINATION include )