Do not reset RPATH on installed libraries
Otherwise qtkeychain doesn't find Qt any more; it needs to keep the RPATH set when compiling it.
This commit is contained in:
parent
c1bf584629
commit
c750d74c33
|
@ -203,6 +203,7 @@ set_target_properties(${QTKEYCHAIN_TARGET_NAME} PROPERTIES
|
|||
SOVERSION ${QTKEYCHAIN_SOVERSION}
|
||||
MACOSX_RPATH 1
|
||||
INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
|
||||
INSTALL_RPATH_USE_LINK_PATH TRUE
|
||||
)
|
||||
|
||||
install(FILES keychain.h ${CMAKE_CURRENT_BINARY_DIR}/qkeychain_export.h
|
||||
|
|
Loading…
Reference in New Issue