From 3442a6fba737980b2383d4f0e241e6cad3ba9f1a Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Mon, 8 Oct 2007 15:17:02 +0000 Subject: [PATCH] more cmake stuff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20852 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/src/CMakeLists.txt | 1 + development/cmake/src/frontends/qt4/CMakeLists.txt | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) 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})