File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ macro( ecbuild_add_option )
159
159
160
160
# Allow override of ENABLE_<FEATURE> with <PNAME>_ENABLE_<FEATURE> (see ECBUILD-486)
161
161
if ( DEFINED ${PNAME} _ENABLE_${_p_FEATURE} )
162
+ ecbuild_debug("ecbuild_add_option(${_p_FEATURE} ): found ${PNAME} _ENABLE_${_p_FEATURE} =${${PNAME} _ENABLE_${_p_FEATURE} }" )
162
163
# Cache it for future reconfiguration
163
164
set ( ${PNAME} _ENABLE_${_p_FEATURE} ${${PNAME} _ENABLE_${_p_FEATURE} } CACHE BOOL "Override for ENABLE_${_p_FEATURE} " )
164
165
# Warn when user provides both ENABLE_<FEATURE> and <PNAME>_ENABLE_<FEATURE>, and explain precedence
@@ -168,6 +169,8 @@ macro( ecbuild_add_option )
168
169
endif ()
169
170
# Non-cache (hard) override of ENABLE_<FEATURE> within this project scope only
170
171
set ( ENABLE_${_p_FEATURE} ${${PNAME} _ENABLE_${_p_FEATURE} } )
172
+ ecbuild_debug("ecbuild_add_option(${_p_FEATURE} ): set ENABLE_${_p_FEATURE} from ${PNAME} _ENABLE_${_p_FEATURE} " )
173
+ ecbuild_debug("ecbuild_add_option(${_p_FEATURE} ): ENABLE_${_p_FEATURE} =${ENABLE_${_p_FEATURE} }" )
171
174
endif ()
172
175
173
176
## Update the description of the feature summary
You can’t perform that action at this time.
0 commit comments