Skip to content
Permalink
Browse files
Merge pull request #43625 from m-kuhn/native_static
Allow building qgis_native as static library
  • Loading branch information
m-kuhn committed Jun 9, 2021
2 parents 41f9842 + e282f1f commit 15c40d64bd19edcf5bc0243a78914844b49adbc5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/native/CMakeLists.txt
@@ -85,7 +85,7 @@ endif()
#############################################################
# qgis_native library

add_library(qgis_native SHARED ${QGIS_NATIVE_SRCS} ${QGIS_NATIVE_HDRS})
add_library(qgis_native ${LIBRARY_TYPE} ${QGIS_NATIVE_SRCS} ${QGIS_NATIVE_HDRS})
set_property(TARGET qgis_native PROPERTY POSITION_INDEPENDENT_CODE ON)

# require c++17

0 comments on commit 15c40d6

Please sign in to comment.