mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-24 22:50:57 -04:00
Try to change both the REALPATH and the symlink location
This commit is contained in:
parent
e231774b05
commit
6531f94f86
1 changed files with 11 additions and 8 deletions
|
@ -42,14 +42,17 @@ if(WITH_XC_BROWSER)
|
||||||
|
|
||||||
add_custom_command(TARGET keepassxc-proxy
|
add_custom_command(TARGET keepassxc-proxy
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
COMMAND ${CMAKE_INSTALL_NAME_TOOL} -change ${Qt5_PREFIX}/lib/QtCore.framework/Versions/5/QtCore "@executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore" ${PROXY_APP_DIR}
|
COMMAND ${CMAKE_INSTALL_NAME_TOOL}
|
||||||
|
-change ${Qt5_PREFIX}/lib/QtCore.framework/Versions/5/QtCore
|
||||||
|
"@executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore"
|
||||||
|
-change /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore
|
||||||
|
"@executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore"
|
||||||
|
-change ${Qt5_PREFIX}/lib/QtNetwork.framework/Versions/5/QtNetwork
|
||||||
|
"@executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork"
|
||||||
|
-change /usr/local/opt/qt/lib/QtNetwork.framework/Versions/5/QtNetwork
|
||||||
|
"@executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork"
|
||||||
|
${PROXY_APP_DIR}
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src
|
||||||
COMMENT "Changing linking of keepassxc-proxy QtCore")
|
COMMENT "Changing linking of keepassxc-proxy")
|
||||||
|
|
||||||
add_custom_command(TARGET keepassxc-proxy
|
|
||||||
POST_BUILD
|
|
||||||
COMMAND ${CMAKE_INSTALL_NAME_TOOL} -change ${Qt5_PREFIX}/lib/QtNetwork.framework/Versions/5/QtNetwork "@executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork" ${PROXY_APP_DIR}
|
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src
|
|
||||||
COMMENT "Changing linking of keepassxc-proxy QtNetwork")
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue