diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7d3c0945..96757ec2 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,7 @@ # Test if compile errors are produced where necessary. +cmake_minimum_required(VERSION 2.8) + include(CheckCXXSourceCompiles) set(CMAKE_REQUIRED_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/..)