CMake checks for correct minimal compiler versions

This commit is contained in:
Sebastian Messmer 2021-04-18 00:48:18 -07:00
parent bc3febcde6
commit 25ccafda9e

View File

@ -12,8 +12,8 @@ project(cryfs)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake-utils) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake-utils)
include(utils) include(utils)
require_gcc_version(5.0) require_gcc_version(7.0)
require_clang_version(4.0) require_clang_version(7.0)
# Default value is not to build test cases # Default value is not to build test cases
option(BUILD_TESTING "build test cases" OFF) option(BUILD_TESTING "build test cases" OFF)