Created
September 10, 2019 06:27
-
-
Save miquelramirez/82b44d16b017d5bf01b51b045add0621 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ExternalProject_Add( | |
Boost | |
PREFIX "${CMAKE_BINARY_DIR}/extern" | |
GIT_REPOSITORY "https://github.com/boostorg/boost.git" | |
GIT_TAG "boost-1.68.0" | |
GIT_SHALLOW TRUE | |
GIT_PROGRESS TRUE | |
BUILD_IN_SOURCE TRUE | |
CONFIGURE_COMMAND | |
<SOURCE_DIR>/bootstrap.sh | |
--with-libraries=filesystem | |
--with-libraries=log | |
--with-libraries=locale | |
--with-libraries=system | |
--with-libraries=thread | |
--prefix=<SOURCE_DIR> | |
BUILD_COMMAND <SOURCE_DIR>/b2 install link=static variant=release threading=multi runtime-link=static cxxstd=17 | |
INSTALL_COMMAND "" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment