Skip to content

Commit 6a17ca5

Browse files
committed
Add a RUNPATH to installed libumf.so
1 parent 64675cf commit 6a17ca5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ endif()
312312
# dependencies.
313313
add_library(umf_headers INTERFACE)
314314

315+
set(CMAKE_INSTALL_RPATH "\$ORIGIN")
316+
315317
# Alias target to support FetchContent.
316318
add_library(${PROJECT_NAME}::headers ALIAS umf_headers)
317319
target_include_directories(

0 commit comments

Comments
 (0)