]> git.lyx.org Git - lyx.git/blobdiff - src/support/tests/CMakeLists.txt
Run codespell on src/support
[lyx.git] / src / support / tests / CMakeLists.txt
index 4e1ff5d4e6fac37fc6351fa983936dc7c4b9b8b8..e5ef4fa6a8f8ef65e13e57c7f0c26062f7ec80ba 100644 (file)
@@ -16,10 +16,12 @@ macro(sources _program)
        target_link_libraries(${_program} support
                ${Lyx_Boost_Libraries} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY}
                ${ZLIB_LIBRARY} ${ICONV_LIBRARY})
-        lyx_target_link_libraries(${_program} Magic)
-        if(CYGWIN)
-            target_link_libraries(${_program} shlwapi)
-        endif()
+       lyx_target_link_libraries(${_program} Magic)
+       if(CYGWIN)
+               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})