]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/src/frontends/CMakeLists.txt
too small for pchs
[lyx.git] / development / cmake / src / frontends / CMakeLists.txt
index c8a2ee426d294a8710f3aca3f948d68ec9158e1c..9b35780e83a499ede4387641ee45b7f4c112a373 100644 (file)
@@ -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)