diff --git a/development/cmake/src/CMakeLists.txt b/development/cmake/src/CMakeLists.txt index 91bd3cca01..751a92827e 100644 --- a/development/cmake/src/CMakeLists.txt +++ b/development/cmake/src/CMakeLists.txt @@ -58,6 +58,7 @@ target_link_libraries(lyx support intl ${QT_QTMAIN_LIBRARY} + boost_filesystem boost_iostreams) if(ASPELL_FOUND) diff --git a/development/cmake/src/frontends/qt4/CMakeLists.txt b/development/cmake/src/frontends/qt4/CMakeLists.txt index 9fdfe08718..6cf8a5e943 100644 --- a/development/cmake/src/frontends/qt4/CMakeLists.txt +++ b/development/cmake/src/frontends/qt4/CMakeLists.txt @@ -40,8 +40,11 @@ else() ${frontends_qt4_sources} ${frontends_qt4_headers} ${ui_files}) endif() -target_link_libraries(frontend_qt4 - ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) +target_link_libraries(frontend_qt4 + frontends + ${QT_QTCORE_LIBRARY} + ${QT_QTGUI_LIBRARY} + boost_filesystem) if(WIN32) target_link_libraries(frontend_qt4 Gdi32) @@ -50,7 +53,5 @@ endif() project_source_group("${GROUP_CODE}" frontends_qt4_sources frontends_qt4_headers) -target_link_libraries(frontend_qt4 boost_filesystem) - source_group("Uic files" FILES ${frontend_qt4_UI})