cmake: Remove OVERRIDE_MSVCCRT

CMake 3.15 removes the need for all of this custom code.
This commit is contained in:
Juan Ramos 2023-11-22 14:44:30 -07:00 committed by GitHub
parent b008c0ee45
commit 1a370bede9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 152 deletions

View file

@ -118,10 +118,6 @@ endif()
if(WIN32)
set(CMAKE_DEBUG_POSTFIX "d")
option(OVERRIDE_MSVCCRT "Overrides runtime of MSVC " ON)
if(MSVC AND OVERRIDE_MSVCCRT)
include(ChooseMSVCCRT.cmake)
endif()
add_definitions(-DGLSLANG_OSINCLUDE_WIN32)
elseif(UNIX OR ANDROID)
add_definitions(-DGLSLANG_OSINCLUDE_UNIX)