summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-12-15 16:21:13 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-12-15 16:21:13 +0100
commit724a779705dd25411653e1c42dd82d2c0456636e (patch)
treed8f05a1ab933f00298d93fe7f49a44a30a1f1b93 /CMakeLists.txt
parent90039a4023fd466b2b29d6e4612a82ec2cab2f38 (diff)
downloaduca-net-724a779705dd25411653e1c42dd82d2c0456636e.tar.gz
uca-net-724a779705dd25411653e1c42dd82d2c0456636e.tar.bz2
uca-net-724a779705dd25411653e1c42dd82d2c0456636e.tar.xz
uca-net-724a779705dd25411653e1c42dd82d2c0456636e.zip
Compile with -fPIC by default
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 902ef91..b4423e8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ include(ConfigurePaths)
find_package(PkgConfig)
-add_definitions("-std=c99 -Wall")
+add_definitions("-std=c99 -Wall -fPIC")
add_definitions(-DG_LOG_DOMAIN="Uca-Net")
pkg_check_modules(GIO gio-2.0>=2.22 REQUIRED)