summaryrefslogtreecommitdiffstats
path: root/contrib/patches/picoc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/patches/picoc/CMakeLists.txt')
-rw-r--r--contrib/patches/picoc/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/patches/picoc/CMakeLists.txt b/contrib/patches/picoc/CMakeLists.txt
index 76fe184..2792907 100644
--- a/contrib/patches/picoc/CMakeLists.txt
+++ b/contrib/patches/picoc/CMakeLists.txt
@@ -3,6 +3,8 @@ project(picoc)
# include_directories(${PROJECT_SOURCE_DIR}/include)
+set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+
file(GLOB PICOC_FILES
${PROJECT_SOURCE_DIR}/*.h
${PROJECT_SOURCE_DIR}/*.c