diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bc0340ae..712b9374b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 2.8) set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "prefix" FORCE) -set(CMAKE_GENERATOR_TOOLSET "v110" CACHE STRING "Platform Toolset" FORCE) project(glslang) if(WIN32) + set(CMAKE_GENERATOR_TOOLSET "v110" CACHE STRING "Platform Toolset" FORCE) include(ChooseMSVCCRT.cmake) foreach(build_type ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE}) string(TOUPPER "${build_type}" build)