diff options
author | Stephan Opfer <opfer@vs.uni-kassel.de> | 2019-04-18 18:04:55 +0200 |
---|---|---|
committer | Stephan Opfer <opfer@vs.uni-kassel.de> | 2019-04-18 18:04:55 +0200 |
commit | cb67f11d8e1c67cdd8de8f47e6e42eba89324858 (patch) | |
tree | 404ad2a876cce5ceb7dec7754b345210e1e9b64c | |
parent | 499e68a8a0cc4d7be5b441bb268b694aedf4a496 (diff) |
added -fPIC
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 290c91c..275c505 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,7 @@ install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) install(DIRECTORY include/ DESTINATION include) +set_property(TARGET ${PROJECT_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON) # tests if (ENABLE_TESTS) |