mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
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
This commit is contained in:
parent
71e01cbab9
commit
0af1e7c608
@ -1,6 +1,7 @@
|
||||
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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user