Commit 0af1e7c6 by John Kessenich

Allow selection of the "Platform Toolset", so that XP binaries can be built.

parent 71e01cba
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)
......
......@@ -18,9 +18,11 @@ set(LIBRARIES
Preprocessor
OGLCompiler)
if(UNIX)
if(WIN32)
set(LIBRARIES ${LIBRARIES} psapi)
elseif(UNIX)
set(LIBRARIES ${LIBRARIES} pthread)
endif(UNIX)
endif(WIN32)
target_link_libraries(glslangValidator ${LIBRARIES})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment