From 078c010de7f8b5c56d1c7b9620171eae0ffa1086 Mon Sep 17 00:00:00 2001 From: John Kessenich <cepheus@frii.com> Date: Mon, 14 Apr 2014 14:45:55 +0000 Subject: [PATCH] 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 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d0c2f6d1a..2746f8b6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- GitLab