Remove redundant check from CMakeLists.txt

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Krzysztof Stachowiak 2018-10-17 13:10:54 +02:00 committed by Dave Rodgman
parent 1f33e4a632
commit bb54237ecf

View file

@ -249,9 +249,7 @@ if(MSVC)
CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_CHECK)
if(${flag_var} MATCHES "/MD")
string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
endif(${flag_var} MATCHES "/MD")
string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
endforeach(flag_var)
endif()
endif()