File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ if (GSHHG_PATH AND COPY_GSHHG)
34
34
DESTINATION ${GMT_DATADIR} /coast
35
35
COMPONENT GSHHG )
36
36
# location must be blank in gmt.conf
37
- set (GSHHG_INSTALL_PATH )
37
+ set (GSHHG_INSTALL_PATH CACHE INTERNAL "Location of GSHHG Data" )
38
38
# create coastline.conf which is needed for in-build-dir ctest
39
39
configure_file (coastline.conf.in coastline.conf @ONLY )
40
40
else (GSHHG_PATH AND COPY_GSHHG )
41
41
# set installed location
42
- set (GSHHG_INSTALL_PATH ${GSHHG_PATH} )
42
+ set (GSHHG_INSTALL_PATH ${GSHHG_PATH} CACHE INTERNAL "Location of GSHHG Data" )
43
43
endif (GSHHG_PATH AND COPY_GSHHG )
44
44
45
45
# only attempt to install DCW file when requested and path is known
@@ -48,10 +48,10 @@ if (DCW_PATH AND COPY_DCW)
48
48
DESTINATION ${GMT_DATADIR} /dcw
49
49
COMPONENT DCW )
50
50
# location must be blank in gmt.conf
51
- set (DCW_INSTALL_PATH )
51
+ set (DCW_INSTALL_PATH CACHE INTERNAL "Location of DCW Data" )
52
52
else (DCW_PATH AND COPY_DCW )
53
53
# set installed location
54
- set (DCW_INSTALL_PATH ${DCW_PATH} )
54
+ set (DCW_INSTALL_PATH ${DCW_PATH} CACHE INTERNAL "Location of GSHHG Data" )
55
55
endif (DCW_PATH AND COPY_DCW )
56
56
57
57
You can’t perform that action at this time.
0 commit comments