mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 01:50:12 +02:00
fix RPATH for oven so it loads things from macdeployqt
This commit is contained in:
parent
f0507e1608
commit
0b598ea948
1 changed files with 5 additions and 4 deletions
|
@ -8,13 +8,14 @@ setup_memory_debugger()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
package_libraries_for_deployment()
|
package_libraries_for_deployment()
|
||||||
endif ()
|
elseif (UNIX)
|
||||||
|
|
||||||
if (UNIX)
|
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
if(THREADS_HAVE_PTHREAD_ARG)
|
if(THREADS_HAVE_PTHREAD_ARG)
|
||||||
target_compile_options(PUBLIC oven "-pthread")
|
target_compile_options(PUBLIC oven "-pthread")
|
||||||
endif()
|
endif()
|
||||||
endif ()
|
elseif (APPLE)
|
||||||
|
# Fix up the rpath so macdeployqt works
|
||||||
|
set_target_properties(${TARGET_NAME} PROPERTIES INSTALL_RPATH "@executable_path/../Frameworks")
|
||||||
|
endif()
|
||||||
|
|
||||||
install_beside_console()
|
install_beside_console()
|
||||||
|
|
Loading…
Reference in a new issue