Skip to content
Snippets Groups Projects
Commit 6bc8443e authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Trying to fix CI...

parent b0093fe0
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,10 @@ message("Using CMake ${CMAKE_VERSION}")
# Set a flag for parallel compilation #
#-------------------------------------#
set(ENV{PARALLEL_BUILD_FLAG} "-j")
set(PARALLEL_BUILD_FLAG $ENV{PARALLEL_BUILD_FLAG})
if(WIN32)
set(ENV{PARALLEL_BUILD_FLAG} "/MP")
set(PARALLEL_BUILD_FLAG $ENV{PARALLEL_BUILD_FLAG})
endif()
#------------------------------------------#
......
......@@ -40,7 +40,6 @@ FetchContent_Populate(boost)
###############
# Build Boost #
###############
set(BOOTSTRAP_CMD sh bootstrap.sh)
set(B2_CMD ./b2 ${PARALLEL_BUILD_FLAG}${N_CORES})
if(WIN32)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment