Install Core as well; add EXCLUDE_FROM_ALL to test libraries

This commit is contained in:
Peter Dimov
2020-01-18 07:12:06 +02:00
parent 4d1486dec9
commit 90cb8254df
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ endmacro()
macro(lib name macro)
add_library(${name} ${ARGN})
add_library(${name} EXCLUDE_FROM_ALL ${ARGN})
target_compile_definitions(${name} PRIVATE $<$<BOOL:BUILD_SHARED_LIBS>:${macro}=1>)
target_link_libraries(${name} PRIVATE Boost::system Boost::config)