Skip to content
Snippets Groups Projects
Commit 0af1e7c6 authored by John Kessenich's avatar John Kessenich
Browse files

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

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25952 e7fa87d3-cd2b-0410-9028-fcbf551c1848
parent 71e01cba
No related branches found
No related tags found
No related merge requests found
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})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment