[CMake] Disable autolink for regex

This commit is contained in:
Mike Dev
2019-12-28 11:55:46 +01:00
parent bb0c610591
commit e54e8e0173

View File

@ -17,6 +17,7 @@ add_library( boost_regex ${BOOST_REGEX_SRC} )
add_library( Boost::regex ALIAS boost_regex ) add_library( Boost::regex ALIAS boost_regex )
target_include_directories( boost_regex PUBLIC include ) target_include_directories( boost_regex PUBLIC include )
target_compile_definitions( boost_regex PUBLIC BOOST_REGEX_NO_LIB)
target_link_libraries( boost_regex target_link_libraries( boost_regex
PUBLIC PUBLIC