Move moldefs to the already existing target_link_options block
This commit is contained in:
parent
3ffc5e6bf5
commit
73d7379276
1 changed files with 1 additions and 4 deletions
|
|
@ -48,10 +48,6 @@ if (DESKTOP_APP_SPECIAL_TARGET)
|
|||
endif()
|
||||
|
||||
if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
target_link_options(common_options
|
||||
INTERFACE
|
||||
-Wl,-z,muldefs
|
||||
)
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_link_options(common_options
|
||||
INTERFACE
|
||||
|
|
@ -77,6 +73,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
|
|||
INTERFACE
|
||||
$<IF:$<NOT:$<STREQUAL:${interprocedural_optimization_config},>>,$<IF:$<BOOL:${interprocedural_optimization_config}>,${interprocedural_optimization_values}>,$<IF:$<BOOL:$<TARGET_PROPERTY:INTERPROCEDURAL_OPTIMIZATION>>,${interprocedural_optimization_values}>>
|
||||
-rdynamic
|
||||
-Wl,-z,muldefs
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue