mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Add an extra space after "/Z7". Else the flag gets joined with the flag following this and clang-cl does not like that.
This commit is contained in:
parent
fde2a7a65d
commit
e29495373e
@ -763,8 +763,8 @@ if(MSVC)
|
|||||||
|
|
||||||
# Compile the static lib with debug information included
|
# Compile the static lib with debug information included
|
||||||
# note: we assume here that the default flags contain some /Z flag
|
# note: we assume here that the default flags contain some /Z flag
|
||||||
string(REGEX REPLACE "/Z.[^:]" "/Z7" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
string(REGEX REPLACE "/Z.[^:]" "/Z7 " CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
||||||
string(REGEX REPLACE "/Z.[^:]" "/Z7" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
|
string(REGEX REPLACE "/Z.[^:]" "/Z7 " CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
|
||||||
|
|
||||||
# Optimization flags.
|
# Optimization flags.
|
||||||
# http://msdn.microsoft.com/en-us/magazine/cc301698.aspx
|
# http://msdn.microsoft.com/en-us/magazine/cc301698.aspx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user