diff --git a/cmake/SSGCommon.cmake b/cmake/SSGCommon.cmake index 3d67b70030b0..38ec121baa19 100644 --- a/cmake/SSGCommon.cmake +++ b/cmake/SSGCommon.cmake @@ -82,11 +82,9 @@ set(SSG_HTML_TABLE_FILE_LIST "") # that the one that is picked by the build system. macro(define_validate_product PRODUCT) set(VALIDATE_PRODUCT TRUE) - if("${OSCAP_VERSION}" VERSION_LESS "1.4.0") - if("${PRODUCT}" MATCHES "^(ocp4|eks|ANOTHER_PROBLEMATIC_PRODUCT)$") - message(STATUS "Won't validate ${PRODUCT}, as it requires the OpenSCAP scanner that is capable of the validation.") - set(VALIDATE_PRODUCT FALSE) - endif() + if("${PRODUCT}" MATCHES "^(ocp4|eks|ANOTHER_PROBLEMATIC_PRODUCT)$") + message(STATUS "Won't validate ${PRODUCT}, as it requires the OpenSCAP scanner that is capable of the validation.") + set(VALIDATE_PRODUCT FALSE) endif() endmacro()