diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/CMakeLists.txt')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/CMakeLists.txt b/3rdparty/bgfx/3rdparty/glslang/CMakeLists.txt index d4537201696..32395c05982 100644 --- a/3rdparty/bgfx/3rdparty/glslang/CMakeLists.txt +++ b/3rdparty/bgfx/3rdparty/glslang/CMakeLists.txt @@ -28,7 +28,9 @@ endif(ENABLE_HLSL) if(WIN32) set(CMAKE_DEBUG_POSTFIX "d") - include(ChooseMSVCCRT.cmake) + if(MSVC) + include(ChooseMSVCCRT.cmake) + endif(MSVC) add_definitions(-DGLSLANG_OSINCLUDE_WIN32) elseif(UNIX) add_definitions(-fPIC) |