mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
fix: Add is configure_boost.cmake from release/2.x
This commit is contained in:
parent
a2d49189fb
commit
cf116198b3
1 changed files with 17 additions and 0 deletions
17
external/configure_boost.cmake
vendored
Normal file
17
external/configure_boost.cmake
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
MESSAGE(STATUS "Reconfiguring using compiler flags=\"${COMPILER_EXTRA_FLAGS}\" and linker flags=\"${LINKER_EXTRA_FLAGS}\"")
|
||||
FILE(WRITE ${SRC_DIR}/tools/build/src/user-config.jam
|
||||
"using ${TOOLSET} : cmake : \"${COMPILER}\" : <cxxflags>\"${COMPILER_EXTRA_FLAGS}\" <linkflags>\"${LINKER_EXTRA_FLAGS}\" ;\n"
|
||||
)
|
||||
|
||||
#FILE(APPEND ${SRC_DIR}/boost/regex/user.hpp
|
||||
# "#define BOOST_REGEX_MATCH_EXTRA 1\n"
|
||||
#)
|
||||
|
||||
execute_process(
|
||||
COMMAND "${SRC_DIR}/bootstrap.sh" --prefix=${INSTALL_PATH} toolset=${TOOLSET}-cmake
|
||||
RESULT_VARIABLE okcode
|
||||
)
|
||||
|
||||
IF (NOT "${okcode}" STREQUAL "0")
|
||||
MESSAGE(FATAL_ERROR "Cannot execute configure command")
|
||||
ENDIF()
|
Loading…
Add table
Add a link
Reference in a new issue