Amend 7d021a93: Use interprocedural optimization if possible

Discard test programs using dummy_fuctions from the optimization.
This omits warnings about multiple method definitions.
This commit is contained in:
Kornel Benko 2019-04-24 14:44:41 +02:00
parent a0c034c29a
commit ef285cb7c4

View File

@ -21,6 +21,7 @@ macro(sources _program)
target_link_libraries(${_program} shlwapi)
endif()
qt_use_modules(${_program} Core)
set_property(TARGET ${_program} PROPERTY INTERPROCEDURAL_OPTIMIZATION FALSE)
endmacro()
file(GLOB test_sources ${TOP_SRC_DIR}/src/support/tests/${LYX_CPP_FILES})