Skip to content

Commit

Permalink
Fix ecbuild_disable_unused_feature
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Nov 8, 2024
1 parent 397e88b commit ea00f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/ecbuild_features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ endfunction()
# Disable the feature ${_name} globally (if it has not been enabled in any subproject)
function( ecbuild_disable_unused_feature _name )
get_property( _enabled GLOBAL PROPERTY ENABLED_FEATURES )
if ( NOT _name IN_LIST _enabled ) # if not already disabled
if ( _name IN_LIST _enabled ) # if not already disabled
ecbuild_disable_feature( ${_name} )
endif()
endfunction()
endfunction()

0 comments on commit ea00f7c

Please sign in to comment.