commit ef285cb7c49bbea1d5ae63a1dddbf2cd5945c58f
Author: Kornel Benko <[email protected]>
Date:   Wed Apr 24 14:44:41 2019 +0200

    Amend 7d021a93: Use interprocedural optimization if possible
    
    Discard test programs using dummy_fuctions from the optimization.
    This omits warnings about multiple method definitions.
---
 src/support/tests/CMakeLists.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/support/tests/CMakeLists.txt b/src/support/tests/CMakeLists.txt
index 6e5f3ed..e5ef4fa 100644
--- a/src/support/tests/CMakeLists.txt
+++ b/src/support/tests/CMakeLists.txt
@@ -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})

Reply via email to