libcryfs/CMakeLists.txt

17 lines
424 B
CMake
Raw Normal View History

2016-02-12 10:16:38 +01:00
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
include(utils.cmake)
2015-02-17 01:02:15 +01:00
2016-02-11 12:53:42 +01:00
require_gcc_version(4.8)
2016-02-13 02:08:55 +01:00
require_clang_version(3.5) # clang 3.5 needed for spdlog dependency
2015-03-16 02:15:51 +01:00
# Default value is not to build test cases
if(NOT DEFINED BUILD_TESTING)
set(BUILD_TESTING OFF CACHE INTERNAL "BUILD_TESTING")
endif(NOT DEFINED BUILD_TESTING)
add_subdirectory(vendor)
add_subdirectory(src)
add_subdirectory(test)
add_subdirectory(cpack)