Skip to content

Commit

Permalink
cmake: enable position independent code for quirc
Browse files Browse the repository at this point in the history
  • Loading branch information
selsta committed Jul 1, 2021
1 parent b58bff3 commit 15dbbaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ add_library(quirc STATIC
quirc/lib/quirc.c
quirc/lib/version_db.c
)
set_target_properties(quirc PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_include_directories(quirc PUBLIC quirc/lib)

0 comments on commit 15dbbaf

Please sign in to comment.