Discard test programs using dummy_fuctions from the optimization.
This omits warnings about multiple method definitions.
target_link_libraries(${_program} shlwapi)
endif()
qt_use_modules(${_program} Core)
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})
endmacro()
file(GLOB test_sources ${TOP_SRC_DIR}/src/support/tests/${LYX_CPP_FILES})