From: Stephan Witt Date: Tue, 16 Oct 2012 20:36:23 +0000 (+0200) Subject: add QT_QTGUI_LIBRARY to link libraries of check programs to get access to QDesktopSer... X-Git-Tag: 2.1.0beta1~1376 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a5317f659427d53726158bb17afbd20ad42364c8;p=features.git add QT_QTGUI_LIBRARY to link libraries of check programs to get access to QDesktopServices on Mac OS X --- diff --git a/src/support/tests/CMakeLists.txt b/src/support/tests/CMakeLists.txt index eb6c2a1f48..d04c02f99e 100644 --- a/src/support/tests/CMakeLists.txt +++ b/src/support/tests/CMakeLists.txt @@ -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})