Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86e9447 commit 565c21dCopy full SHA for 565c21d
1 file changed
‎CMakeLists.txt‎
@@ -11,6 +11,7 @@ set(CORE_WIDGETS_ADDON "nodegui_core")
11
12
project(${CORE_WIDGETS_ADDON})
13
14
+set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
15
16
# Note: CMake+moc also use this list when finding files which `moc` applied.
17
@@ -265,6 +266,7 @@ if (UNIX AND NOT APPLE)
265
266
endif()
267
268
if (APPLE)
269
+ set(CMAKE_MACOSX_RPATH ON)
270
file(RELATIVE_PATH QT_LIBRARY_REL_PATH "${CMAKE_BINARY_DIR}/Release" "${QT_CMAKE_HOME_DIR}/../..")
271
set_target_properties(${CORE_WIDGETS_ADDON} PROPERTIES INSTALL_RPATH "@loader_path/${QT_LIBRARY_REL_PATH}")
272
0 commit comments