Skip to content

Commit a2aaf60

Browse files
authoredMay 16, 2019
Merge pull request #10014 from elpaso/qjson-nlohmann-followup
Install json_fwd.hpp header
2 parents cfc78c4 + 90d40d5 commit a2aaf60

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed
 

‎src/app/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ENDIF(NOT WIN32)
55

66
SET(QGIS_APP_SRCS
77
${CMAKE_SOURCE_DIR}/external/nmea/gmath.c
8-
${CMAKE_SOURCE_DIR}/external/nlohmann/json.hpp
98

109
qgisapp.cpp
1110
qgisappinterface.cpp

‎src/core/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33

44
SET(QGIS_CORE_SRCS
55
${CMAKE_SOURCE_DIR}/external/kdbush/include/kdbush.hpp
6-
${CMAKE_SOURCE_DIR}/external/nlohmann/json.hpp
7-
${CMAKE_SOURCE_DIR}/external/nlohmann/json_fwd.hpp
8-
96
${CMAKE_SOURCE_DIR}/external/nmea/context.c
107
${CMAKE_SOURCE_DIR}/external/nmea/gmath.c
118
${CMAKE_SOURCE_DIR}/external/nmea/info.c
@@ -1323,6 +1320,7 @@ ENDIF(HAVE_OPENCL)
13231320

13241321
IF(NOT APPLE)
13251322
INSTALL(FILES ${QGIS_CORE_HDRS} ${QGIS_CORE_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})
1323+
INSTALL(FILES ${CMAKE_SOURCE_DIR}/external/nlohmann/json_fwd.hpp DESTINATION ${QGIS_INCLUDE_DIR}/nlohmann)
13261324
ELSE(NOT APPLE)
13271325
SET_TARGET_PROPERTIES(qgis_core PROPERTIES
13281326
CLEAN_DIRECT_OUTPUT 1

‎src/providers/spatialite/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ IF(WITH_QSPATIALITE)
66
ENDIF(WITH_QSPATIALITE)
77

88
SET(SPATIALITE_SRCS
9-
${CMAKE_SOURCE_DIR}/external/nlohmann/json.hpp
109
qgsspatialiteprovider.cpp
1110
qgsspatialitedataitems.cpp
1211
qgsspatialiteconnection.cpp

0 commit comments

Comments
 (0)
Please sign in to comment.