Skip to content

Commit ea00f7c

Browse files
committed
Fix ecbuild_disable_unused_feature
1 parent 397e88b commit ea00f7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cmake/ecbuild_features.cmake‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ endfunction()
5959
# Disable the feature ${_name} globally (if it has not been enabled in any subproject)
6060
function( ecbuild_disable_unused_feature _name )
6161
get_property( _enabled GLOBAL PROPERTY ENABLED_FEATURES )
62-
if ( NOT _name IN_LIST _enabled ) # if not already disabled
62+
if ( _name IN_LIST _enabled ) # if not already disabled
6363
ecbuild_disable_feature( ${_name} )
6464
endif()
65-
endfunction()
65+
endfunction()

0 commit comments

Comments
 (0)