Skip to content

Commit 6971e9d

Browse files
committed
Fix build
1 parent d1593ca commit 6971e9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/native/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ INCLUDE_DIRECTORIES(
6666
# qgis_native library
6767

6868
ADD_LIBRARY(qgis_native SHARED ${QGIS_NATIVE_SRCS} ${QGIS_NATIVE_HDRS})
69+
SET_PROPERTY(TARGET qgis_native PROPERTY POSITION_INDEPENDENT_CODE ON)
6970

7071
GENERATE_EXPORT_HEADER(
7172
qgis_native

0 commit comments

Comments
 (0)