File tree Expand file tree Collapse file tree 7 files changed +460
-9
lines changed Expand file tree Collapse file tree 7 files changed +460
-9
lines changed Original file line number Diff line number Diff line change 1
- SET (GRASS_MODULES_DIR "modules-${GRASS_MAJOR_VERSION} .${GRASS_MINOR_VERSION} " )
2
- SUBDIRS (config modules-common ${GRASS_MODULES_DIR} scripts themes )
1
+ IF (GRASS_NUM_VERSION LESS 60300 )
2
+ SET (GRASS_MODULES_DIR "modules-6.3" )
3
+ ELSE (GRASS_NUM_VERSION LESS 60300 )
4
+ SET (GRASS_MODULES_DIR "modules-${GRASS_MAJOR_VERSION} .${GRASS_MINOR_VERSION} " )
5
+ ENDIF (GRASS_NUM_VERSION LESS 60300 )
6
+
7
+ IF (NOT (EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /${GRASS_MODULES_DIR} " AND IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} /${GRASS_MODULES_DIR} " ))
8
+ MESSAGE (SEND_ERROR "Your GRASS version is not supported." )
9
+ ENDIF (NOT (EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /${GRASS_MODULES_DIR} " AND IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} /${GRASS_MODULES_DIR} " ))
10
+
11
+ SUBDIRS (modules-common ${GRASS_MODULES_DIR} scripts themes )
3
12
4
13
ADD_DEFINITIONS (-DGRASS_BASE=\\\" ${GRASS_PREFIX} \\\" )
5
14
ADD_DEFINITIONS (-DHAVE_OPENPTY=${HAVE_OPENPTY} )
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,3 +2,6 @@ FILE (GLOB MODULE_FILES *.qgm *.svg *.png)
2
2
INSTALL (FILES ${MODULE_FILES}
3
3
DESTINATION ${QGIS_DATA_DIR} /grass/modules )
4
4
5
+ FILE (GLOB CONFIG *.qgc )
6
+ INSTALL (FILES ${CONFIG}
7
+ DESTINATION ${QGIS_DATA_DIR} /grass/config )
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -2,3 +2,6 @@ FILE (GLOB MODULE_FILES *.qgm *.svg *.png)
2
2
INSTALL (FILES ${MODULE_FILES}
3
3
DESTINATION ${QGIS_DATA_DIR} /grass/modules )
4
4
5
+ FILE (GLOB CONFIG *.qgc )
6
+ INSTALL (FILES ${CONFIG}
7
+ DESTINATION ${QGIS_DATA_DIR} /grass/config )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments