Commit e5eab4b9 authored by Luca Boccassi's avatar Luca Boccassi

Problem: CMake parallel build not enabled for C files

Solution: set the equivalent flag
parent 046689bb
......@@ -494,6 +494,7 @@ endif ()
if (MSVC)
# Parallel make.
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
# Compile the static lib with debug information included
string (REGEX REPLACE "/Z." "/Z7" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment