Fix linking issues

This commit is contained in:
TheAssassin
2018-11-28 11:03:08 +01:00
parent 0bc12dfd95
commit 3a96c5e880
+1 -1
View File
@@ -122,7 +122,7 @@ if(NOT USE_SYSTEM_BOOST)
add_library(boost_lexical_cast INTERFACE)
set_property(TARGET boost_lexical_cast PROPERTY INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/boost-lexical_cast/include>")
set_property(TARGET boost_lexical_cast PROPERTY INTERFACE_LINK_LIBRARIES "boost_config")
target_link_libraries(boost_lexical_cast INTERFACE boost_concept_check boost_numeric_conversion boost_array boost_container boost_math)
target_link_libraries(boost_lexical_cast INTERFACE boost_concept_check boost_numeric_conversion boost_array boost_container boost_math boost_system)
endif()
if(BUILD_TESTING)