Set position independent code property on all targets

This commit is contained in:
Bradley J Chambers
2017-09-20 14:08:32 -04:00
parent fef97f6275
commit 83aa419348

View File

@@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2)
PROJECT(pubgeo)
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
IF(WIN32)
MESSAGE(ERROR "Windows builds are currently not working due to erroneous linking errors.")