Browse Source

CMake: Remove duplicate MSVC check

As of this commit, L98 of winconf.cmake already checks for MSVC
before winconf-msvc calls this macro, so we are guaranteed to be
satisfy the check.
adaptive-webui-19844
NotTsunami 5 years ago
parent
commit
b7f2122c06
  1. 2
      cmake/Modules/MacroConfigureMSVCRuntime.cmake

2
cmake/Modules/MacroConfigureMSVCRuntime.cmake

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
macro(configure_msvc_runtime)
if(MSVC)
# Default to statically-linked runtime.
if("${MSVC_RUNTIME}" STREQUAL "")
set(MSVC_RUNTIME "static")
@ -34,5 +33,4 @@ macro(configure_msvc_runtime) @@ -34,5 +33,4 @@ macro(configure_msvc_runtime)
endif()
endforeach()
endif()
endif()
endmacro()

Loading…
Cancel
Save