Set CMAKE_POSITION_INDEPENDENT_CODE

Needed on 64-bit Linux
develop
lethosor 2016-08-10 15:48:47 -04:00
parent 1b11c46a98
commit acc4a6a0b1
1 changed files with 1 additions and 0 deletions

@ -175,6 +175,7 @@ SET(DFHACK_DEVDOC_DESTINATION hack)
OPTION(BUILD_LIBRARY "Build the library that goes into DF." ON)
OPTION(BUILD_PLUGINS "Build the plugins." ON)
SET(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
IF(UNIX)
## flags for GCC
# default to hidden symbols