Restore r26190: make code PIC

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26211 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2014-04-14 14:45:55 +00:00
parent f2d042a1fe
commit 078c010de7

View File

@ -8,6 +8,7 @@ if(WIN32)
set(CMAKE_GENERATOR_TOOLSET "v110" CACHE STRING "Platform Toolset" FORCE)
include(ChooseMSVCCRT.cmake)
elseif(UNIX)
add_definitions(-fPIC)
else(WIN32)
message("unkown platform")
endif(WIN32)