mirror of
https://gitee.com/sogou/srpc.git
synced 2024-12-21 16:14:54 +08:00
Revert "fix error when compile tutorial on Windows"
This commit is contained in:
parent
e4610b2933
commit
0a5863f11e
@ -121,7 +121,7 @@ if (WIN32)
|
||||
CMAKE_C_FLAGS_MINSIZEREL
|
||||
)
|
||||
foreach(CompilerFlag ${CompilerFlags})
|
||||
#string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}") # this line will make tutorial compile error
|
||||
string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}")
|
||||
endforeach ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
@ -105,7 +105,7 @@ if (WIN32)
|
||||
CMAKE_C_FLAGS_MINSIZEREL
|
||||
)
|
||||
foreach(CompilerFlag ${CompilerFlags})
|
||||
#string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}") # MD is fine, or this line will make compile error
|
||||
string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}")
|
||||
endforeach ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user