shithub: cstory

Download patch

ref: 990390adbd800042224e29778630953e25e46005
parent: 93535c55011dd0f042528b7ab271c56b4761ce5b
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Jun 29 14:40:17 EDT 2020

Fix CMake error when LTO is enabled

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,9 @@
 cmake_minimum_required(VERSION 3.8)
 
+if((${CMAKE_VERSION} VERSION_EQUAL 3.9) OR (${CMAKE_VERSION} VERSION_GREATER 3.9))
+	cmake_policy(SET CMP0069 NEW)
+endif()
+
 
 #############
 # Constants #