mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Problem: CMake parallel build not enabled for C files
Solution: set the equivalent flag
This commit is contained in:
parent
046689bbe7
commit
e5eab4b91f
@ -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}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user