Skip to content

Commit

Permalink
[fix] fix rpath
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Gallois <benjamin@gallois.cc>
  • Loading branch information
bgallois authored Aug 24, 2023
1 parent bbcc652 commit e8b8a2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ add_executable(test
target_link_libraries(test PRIVATE Qt${QT_VERSION_MAJOR}::Core)
target_link_libraries(test PRIVATE Qt${QT_VERSION_MAJOR}::Network)

set(CMAKE_SKIP_BUILD_RPATH FALSE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_INSTALL_RPATH “${ORIGIN}”)

target_include_directories(${PROJECT_NAME}
PRIVATE
# where the library itself will look for its internal headers
Expand Down

0 comments on commit e8b8a2d

Please sign in to comment.