Merge pull request #35 from danimo/fix_rpath

Hardcode rpath to install dir on make install
This commit is contained in:
Frank Osterfeld 2014-03-13 14:18:53 +01:00
commit c130727cc4
1 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,8 @@ endif()
set_target_properties(${QTKEYCHAIN_TARGET_NAME} PROPERTIES set_target_properties(${QTKEYCHAIN_TARGET_NAME} PROPERTIES
VERSION ${QTKEYCHAIN_VERSION} VERSION ${QTKEYCHAIN_VERSION}
SOVERSION ${QTKEYCHAIN_SOVERSION} SOVERSION ${QTKEYCHAIN_SOVERSION}
MACOSX_RPATH 1
INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
) )
install(FILES keychain.h qkeychain_export.h install(FILES keychain.h qkeychain_export.h