1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-21 12:44:14 +01:00

cmake: enable position independent code for quirc

This commit is contained in:
selsta 2021-07-01 18:36:43 +02:00
parent b58bff39a0
commit 15dbbaf691
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -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)