Skip to content
Snippets Groups Projects
Commit ab6d5a92 authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Hack in parallel support

parent 60f19ab3
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,12 @@ if(CMAKE_C_COMPILER MATCHES "mingw")
set(MAKE_FLAGS MINGW32_NT-6.1 OSNAME=win32)
endif()
if(CMAKE_BUILD_PARALLEL_LEVEL STREQUAL "")
set(MAKE_FLAGS ${MAKE_FLAGS} -j 32)
else()
set(MAKE_FLAGS ${MAKE_FLAGS} -j ${CMAKE_BUILD_PARALLEL_LEVEL})
endif()
ExternalProject_Add(
CryptlibBuild
DOWNLOAD_COMMAND "${UNZIP_PATH}" -oa "${CMAKE_CURRENT_SOURCE_DIR}/dist/cryptlib.zip" -d "<SOURCE_DIR>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment