File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ set(LIBRARY_TARGET_NAME ${PROJECT_NAME})
20
20
21
21
message (USING Qt${QT_VERSION_MAJOR} )
22
22
23
+ set (CMAKE_SKIP_BUILD_RPATH FALSE )
24
+ set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
25
+ set (CMAKE_INSTALL_RPATH $ORIGIN )
26
+
23
27
add_subdirectory (src )
24
28
25
29
if (BUILD_TESTS )
Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ target_link_libraries(${LIBRARY_TARGET_NAME} PRIVATE
45
45
Qt${QT_VERSION_MAJOR}::Core
46
46
Qt${QT_VERSION_MAJOR}::Network )
47
47
48
- set (CMAKE_SKIP_BUILD_RPATH FALSE )
49
- set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
50
- set (CMAKE_INSTALL_RPATH $ORIGIN )
51
-
52
48
target_include_directories (${LIBRARY_TARGET_NAME}
53
49
PRIVATE
54
50
# where the library itself will look for its internal headers
You can’t perform that action at this time.
0 commit comments