From bb54237ecf6020922a8159187951d065d2fea75d Mon Sep 17 00:00:00 2001 From: Krzysztof Stachowiak Date: Wed, 17 Oct 2018 13:10:54 +0200 Subject: [PATCH] Remove redundant check from CMakeLists.txt Signed-off-by: Dave Rodgman --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fecb6efd..5b4cd401d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()