Merge pull request #35 from danimo/fix_rpath
Hardcode rpath to install dir on make install
This commit is contained in:
commit
c130727cc4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue