mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
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.
This commit is contained in:
parent
9f9868bd79
commit
b7f2122c06
1 changed files with 32 additions and 34 deletions
|
@ -1,5 +1,4 @@
|
||||||
macro(configure_msvc_runtime)
|
macro(configure_msvc_runtime)
|
||||||
if(MSVC)
|
|
||||||
# Default to statically-linked runtime.
|
# Default to statically-linked runtime.
|
||||||
if("${MSVC_RUNTIME}" STREQUAL "")
|
if("${MSVC_RUNTIME}" STREQUAL "")
|
||||||
set(MSVC_RUNTIME "static")
|
set(MSVC_RUNTIME "static")
|
||||||
|
@ -34,5 +33,4 @@ macro(configure_msvc_runtime)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
Loading…
Reference in a new issue