]> git.lyx.org Git - features.git/blobdiff - development/cmake/src/frontends/CMakeLists.txt
Cleanup Boost-Libraries use
[features.git] / development / cmake / src / frontends / CMakeLists.txt
index c8a2ee426d294a8710f3aca3f948d68ec9158e1c..a263e2ba384f79441431b3c9ff01be661f7651e9 100644 (file)
@@ -23,11 +23,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)