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})
2020
2121message (USING Qt${QT_VERSION_MAJOR} )
2222
23+ set (CMAKE_SKIP_BUILD_RPATH FALSE )
24+ set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
25+ set (CMAKE_INSTALL_RPATH $ORIGIN)
26+
2327add_subdirectory (src )
2428
2529if (BUILD_TESTS)
Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ target_link_libraries(${LIBRARY_TARGET_NAME} PRIVATE
4545 Qt${QT_VERSION_MAJOR}::Core
4646 Qt${QT_VERSION_MAJOR}::Network )
4747
48- set (CMAKE_SKIP_BUILD_RPATH FALSE )
49- set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
50- set (CMAKE_INSTALL_RPATH $ORIGIN)
51-
5248target_include_directories (${LIBRARY_TARGET_NAME}
5349 PRIVATE
5450 # where the library itself will look for its internal headers
You can’t perform that action at this time.
0 commit comments