Skip to content

Commit

Permalink
Remove check for OpenSCAP OVAL version as that is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Oct 6, 2022
1 parent b58a742 commit b165f2d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,8 @@ cmake_dependent_option(ENABLE_PYTHON_COVERAGE "Enable Python tests with coverage

find_package(OpenSCAP REQUIRED)

if (SSG_TARGET_OVAL_MAJOR_VERSION EQUAL "5" AND SSG_TARGET_OVAL_VERSION_MINOR EQUAL "11" AND NOT "${OSCAP_V_OUTPUT}" MATCHES "OVAL Version: 5.11")
message(FATAL_ERROR "Your version of OpenSCAP does not support OVAL 5.11, please upgrade to a newer version of OpenSCAP.")
endif()

if (NOT SSG_TARGET_OVAL_VERSION VERSION_EQUAL "5.11")
message(WARNING "You are targetting OVAL version ${SSG_TARGET_OVAL_VERSION}. In SSG we support/test 5.11 only!")

endif()

# OCP4 requires non-standard extensions. Vanilla OpenSCAP 1.2 doesn't support
Expand Down

0 comments on commit b165f2d

Please sign in to comment.