From df0bd3521e7067c2a226ef1477d5b2b39b2b2493 Mon Sep 17 00:00:00 2001 From: Nathan Osman Date: Wed, 15 Jul 2015 14:11:41 -0700 Subject: [PATCH] Explicitly set behavior for policy CMP0043. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab3b803..1d573b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,10 @@ cmake_minimum_required(VERSION 2.8.11) project(qhttpengine) +if(NOT (CMAKE_MAJOR_VERSION VERSION_LESS 3)) + cmake_policy(SET CMP0043 OLD) +endif() + option(BUILD_DOC "Build Doxygen documentation" OFF) option(BUILD_EXAMPLES "Build the example applications" OFF) option(BUILD_TESTS "Build the test suite" OFF)