From f7928c246b101808586ead25ac5cb282e5bc4d2d Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 15 Dec 2016 16:18:43 +0100 Subject: Enable -fPIC by default --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6c71c6..b5ada63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,7 +114,7 @@ set(UCA_ENUM_HDRS ${CMAKE_CURRENT_SOURCE_DIR}/plugins/pco/uca-pco-camera.h) #}}} #{{{ Common definitions -add_definitions("-std=c99 -Wall") +add_definitions("-std=c99 -Wall -fPIC") #}}} #{{{ Subdirectories add_subdirectory(src) -- cgit v1.2.3