mirror of
https://github.com/boostorg/boost.git
synced 2025-04-07 14:29:14 +00:00
Provide a CMake option for deciding between installers that bundle all of Boost vs. installers that download selected components on-the-fly
[SVN r52808]
This commit is contained in:
parent
344738c83c
commit
ca9223844a
1 changed files with 10 additions and 4 deletions
|
@ -235,11 +235,17 @@ if(WIN32 AND NOT UNIX)
|
|||
endif(WIN32 AND NOT UNIX)
|
||||
include(CPack)
|
||||
|
||||
if(COMMAND cpack_configure_downloads)
|
||||
cpack_configure_downloads(
|
||||
"http://www.osl.iu.edu/~dgregor/Boost-CMake/${BOOST_VERSION}/"
|
||||
ALL ADD_REMOVE)
|
||||
option(BOOST_INSTALLER_ON_THE_FLY
|
||||
"Whether to build installers that download components on-the-fly" OFF)
|
||||
|
||||
if (BOOST_INSTALLER_ON_THE_FLY)
|
||||
if(COMMAND cpack_configure_downloads)
|
||||
cpack_configure_downloads(
|
||||
"http://www.osl.iu.edu/~dgregor/Boost-CMake/${BOOST_VERSION}/"
|
||||
ALL ADD_REMOVE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
##########################################################################
|
||||
|
||||
##########################################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue