mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 20:35:42 +02:00
cmake: use target_link_options() instead of setting CMAKE_EXE_LINKER_FLAGS
This commit is contained in:
parent
e4f3695f5e
commit
5884300b5b
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ target_link_libraries(f00bar
|
|||
${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
|
||||
|
||||
# Make global symbols in f00bar visible to dlopen:ed plugins
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
|
||||
target_link_options(f00bar PRIVATE -rdynamic)
|
||||
|
||||
set_property(TARGET f00bar PROPERTY INSTALL_RPATH \$ORIGIN/../lib/f00bar)
|
||||
set_property(TARGET f00bar PROPERTY
|
||||
|
|
Loading…
Add table
Reference in a new issue