From 724a779705dd25411653e1c42dd82d2c0456636e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 15 Dec 2016 16:21:13 +0100 Subject: Compile with -fPIC by default --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3