From ffcee797ed7084f544aa34cb367e34880a0786b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Mon, 8 Jul 2024 16:07:38 +0200 Subject: [PATCH] Force PIC --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca83906..d7ef0f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.25) project(sqlite3_native C) +set(CMAKE_POSITION_INDEPENDENT_CODE ON) + include(bare) if(NOT TARGET sqlite3)