1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

external_boost is only needed as a columnstore dependency

it should not be added to the 'all' target
This commit is contained in:
Sergei Golubchik
2022-08-30 20:01:17 +02:00
parent 028f8e0924
commit a4f2e5b331

View File

@ -22,7 +22,8 @@ FOREACH(name chrono filesystem program_options regex system thread)
ADD_DEPENDENCIES(${lib} external_boost)
SET (loc "${Boost_LIBRARY_DIRS}/${CMAKE_STATIC_LIBRARY_PREFIX}${lib}${CMAKE_STATIC_LIBRARY_SUFFIX}")
SET(byproducts ${byproducts} BUILD_BYPRODUCTS ${loc})
SET_TARGET_PROPERTIES(${lib} PROPERTIES IMPORTED_LOCATION ${loc})
SET_TARGET_PROPERTIES(${lib} PROPERTIES IMPORTED_LOCATION ${loc}
EXCLUDE_FROM_ALL TRUE)
ENDFOREACH()
ExternalProject_Add(external_boost
@ -36,5 +37,6 @@ ExternalProject_Add(external_boost
INSTALL_COMMAND ./b2 -q install ${_b2args}
LOG_BUILD TRUE
LOG_INSTALL TRUE
EXCLUDE_FROM_ALL TRUE
${byproducts}
)