endif()
else()
message(STATUS "----- Using internal boost. To build with installed version use -DUseExternalBoost:BOOL=ON")
- set(Lyx_Boost_Libraries boost_signals boost_regex)
+ set(Lyx_Boost_Libraries boost_signals ${BOOST_REGEX_LIB})
add_definitions(-DBOOST_USER_CONFIG="<config.h>")
include_directories(${TOP_SRC_DIR}/boost)
add_subdirectory(boost)