]> git.lyx.org Git - features.git/commitdiff
add QT_QTGUI_LIBRARY to link libraries of check programs to get access to QDesktopSer...
authorStephan Witt <switt@lyx.org>
Tue, 16 Oct 2012 20:36:23 +0000 (22:36 +0200)
committerStephan Witt <switt@lyx.org>
Tue, 16 Oct 2012 20:36:23 +0000 (22:36 +0200)
src/support/tests/CMakeLists.txt

index eb6c2a1f481e031b756b832fa3f1716e304e63df..d04c02f99ee3bea2cd573c5eb6fa979980a2da8b 100644 (file)
@@ -13,7 +13,9 @@ macro(sources _program)
        endforeach()
        set(${_program}_SOURCES ${_tmplist})
        add_executable(${_program} ${_tmplist})
-       target_link_libraries(${_program} support ${Lyx_Boost_Libraries} ${QT_QTCORE_LIBRARY} ${ZLIB_LIBRARY} ${LIBINTL_LIBRARIES} ${ICONV_LIBRARY})
+       target_link_libraries(${_program} support
+               ${Lyx_Boost_Libraries} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY}
+               ${ZLIB_LIBRARY} ${LIBINTL_LIBRARIES} ${ICONV_LIBRARY})
 endmacro()
 
 file(GLOB test_sources ${TOP_SRC_DIR}/src/support/tests/${LYX_CPP_FILES})