X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftests%2FCMakeLists.txt;h=c498b289f267dd47cc56af4780f807cb54e173c8;hb=a9409b47851e57afb2a9c1b1262e60c6963d9dc4;hp=f78913752e1b17c6c760625c301e4e28684a3f53;hpb=6f16814d3b9f51907cadfb97282d95ee769cb6fe;p=lyx.git diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index f78913752e..c498b289f2 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -20,10 +20,12 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") elseif(MSVC) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /FORCE:MULTIPLE") else() - message(STATUS "Allow multiple definitions for cxx-compiler ${CMAKE_CXX_COMPILER_ID} not handled") -endif() + message(STATUS "Allow multiple definitions for cxx-compiler ${CMAKE_CXX_COMPILER_ID} not handled") + endif() -target_link_libraries(check_layout support ${QT_QTMAIN_LIBRARY} ${intl_link}) +target_link_libraries(check_layout support ${intl_link} + ${Lyx_Boost_Libraries} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} + ${ZLIB_LIBRARY} ${ICONV_LIBRARY}) add_dependencies(lyx_run_tests check_layout) set_target_properties(check_layout PROPERTIES FOLDER "tests/src")