Commit 078c010d by John Kessenich

Restore r26190: make code PIC

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