Skip to content

Commit

Permalink
Allow building qgis_native as static library
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 8, 2021
1 parent af021f1 commit e282f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit e282f1f

Please sign in to comment.