Skip to content

Commit 0ceef3e

Browse files
committed
rename Opacity_dir -> OPACITY_DIR
1 parent 161b785 commit 0ceef3e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Make.Microphysics_extern

+6-2
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,18 @@ ifeq ($(USE_CONDUCTIVITY),TRUE)
126126
EXTERN_CORE += $(CONDUCTIVITY_PATH)
127127
endif
128128

129+
# backwards compatability -- remove after 25.01
130+
ifdef Opacity_dir
131+
OPACITY_DIR=$(Opacity_dir)
132+
endif
129133

130134
ifeq ($(USE_RAD), TRUE)
131-
ifeq ($(Opacity_dir), null)
135+
ifeq ($(OPACITY_DIR), null)
132136
$(error The null opacity directory has been removed, please update to rad_power_law)
133137
endif
134138
EXTERN_CORE += $(MICROPHYSICS_HOME)/opacity
135139

136-
OPAC_PATH := $(MICROPHYSICS_HOME)/opacity/$(Opacity_dir)
140+
OPAC_PATH := $(MICROPHYSICS_HOME)/opacity/$(OPACITY_DIR)
137141
EXTERN_CORE += $(OPAC_PATH)
138142
endif
139143

0 commit comments

Comments
 (0)