diff options
Diffstat (limited to 'cmake/module/feature.cmake')
| -rw-r--r-- | cmake/module/feature.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/module/feature.cmake b/cmake/module/feature.cmake index 380a88d..d97761b 100644 --- a/cmake/module/feature.cmake +++ b/cmake/module/feature.cmake @@ -240,7 +240,7 @@ createFeatureModuleFunction("outFeaturesToFile" "" endforeach() # Check if feature is enable, and push them to file - if("FEATURE_\${feature}" IN_LIST cacheVars AND NOT "\${FEATURE_\${feature}}" STREQUAL "") + if("FEATURE_\${feature}" IN_LIST cacheVars AND DEFINED "\${FEATURE_\${feature}}") file(APPEND "\${OUT_FILE}" "FEATURE_\${feature}_IS_ENABLING = " "\\"TRUE\\"\n") endif() |
