ref: 99ed3ead5523227b52502401a05834ab81cf40ee
parent: 16f29f6fb7cc26a36a712bb8b57fec31ce2d1eab
parent: 8f4ef85cf894b17358b8825a286777c1ff64a34b
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Apr 27 14:41:34 EDT 2020
Merge pull request #115 from GabrielRavier/portableAddCMake3_10Support Add support for CMake 3.8 in portable
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
#############
--- a/DoConfig/CMakeLists.txt
+++ b/DoConfig/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
option(PKG_CONFIG_STATIC_LIBS "On platforms with pkg-config, static-link the dependencies (good for Windows builds, so you don't need to bundle DLL files)" OFF)
option(MSVC_LINK_STATIC_RUNTIME "Link the static MSVC runtime library (Visual Studio only)" OFF)
--- a/bin2h/CMakeLists.txt
+++ b/bin2h/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
option(LTO "Enable link-time optimisation" OFF)
--- a/external/glad/CMakeLists.txt
+++ b/external/glad/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
if(NOT TARGET glad)