From 38a3bd8e1c91dcc4b7ab891857d522aaa2f41834 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 22 Jun 2020 20:27:35 +0200 Subject: [PATCH] Increased the minimum required CMake version from 2.8 to 3.0 This solved an irritating issue with CMake complaining about policy CMP0048. --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0de8d1aef..aa60d995c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0) option(GLES "Set to ON if targeting Embedded OpenGL" ${GLES}) option(GL "Set to ON if targeting Desktop OpenGL" ${GL}) @@ -255,7 +255,6 @@ set(dir ${CMAKE_CURRENT_SOURCE_DIR}) set(EXECUTABLE_OUTPUT_PATH ${dir} CACHE PATH "Build directory" FORCE) set(LIBRARY_OUTPUT_PATH ${dir} CACHE PATH "Build directory" FORCE) - #------------------------------------------------------------------------------- # add each component