Skip to content

Commit

Permalink
Force PIC
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Jul 8, 2024
1 parent 36d1acb commit ffcee79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ffcee79

Please sign in to comment.