Skip to content

Commit

Permalink
add possibility to not override runtime of MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Jul 14, 2021
1 parent 4b7b86d commit 22d19b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ endif(ENABLE_GLSLANG_WEBMIN)

if(WIN32)
set(CMAKE_DEBUG_POSTFIX "d")
if(MSVC)
option(OVERRIDE_MSVCCRT "Overrides runtime of MSVC " ON)
if(MSVC and OVERRIDE_MSVCCRT)
include(ChooseMSVCCRT.cmake)
endif(MSVC)
add_definitions(-DGLSLANG_OSINCLUDE_WIN32)
Expand Down

0 comments on commit 22d19b9

Please sign in to comment.