Make use of the v110 tool set be Win32 specific.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26127 e7fa87d3-cd2b-0410-9028-fcbf551c1848
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6bc0340..712b937 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)