cmake: add flags to enable sanitizers on linux (#1284)
Sanitizers added: address, undefined behaviour, thread
also rename WICKED_USE_{IPO,SYMLINKS} to WICKED_ENABLE_{IPO,SYMLINKS}
for consistency with the other options.
This commit is contained in:
@@ -81,7 +81,7 @@ else()
|
||||
set(LIB_DXCOMPILER "libdxcompiler.so")
|
||||
endif ()
|
||||
|
||||
if(WICKED_USE_IPO)
|
||||
if(WICKED_ENABLE_IPO)
|
||||
set_target_properties(Example_ImGui_Docking PROPERTIES
|
||||
INTERPROCEDURAL_OPTIMIZATION ON
|
||||
INTERPROCEDURAL_OPTIMIZATION_DEBUG OFF
|
||||
|
||||
Reference in New Issue
Block a user