X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fcmake%2Fsrc%2Ffrontends%2FCMakeLists.txt;h=9b35780e83a499ede4387641ee45b7f4c112a373;hb=c79d09295308005077d2a0061b5043d6b8690a13;hp=c8a2ee426d294a8710f3aca3f948d68ec9158e1c;hpb=ad8a353281babd0096503462a0b0b6fa4213027d;p=lyx.git diff --git a/development/cmake/src/frontends/CMakeLists.txt b/development/cmake/src/frontends/CMakeLists.txt index c8a2ee426d..9b35780e83 100644 --- a/development/cmake/src/frontends/CMakeLists.txt +++ b/development/cmake/src/frontends/CMakeLists.txt @@ -13,8 +13,6 @@ add_subdirectory(qt4) file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/${LYX_CPP_FILES}) file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/${LYX_HPP_FILES}) -lyx_add_msvc_pch(frontends) - if(NOT MERGE_FILES) add_library(frontends ${library_type} ${frontends_sources} ${frontends_headers}) @@ -23,11 +21,7 @@ else() add_library(frontends ${library_type} ${_allinone_files}) endif() -if(Boost_FOUND) - target_link_libraries(frontends ${Boost_LIBRARIES}) -else() - target_link_libraries(frontends boost_regex) -endif() +target_link_libraries(frontends ${Lyx_Boost_Libraries}) project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)