Fix CMake error when LTO is enabled

This commit is contained in:
Clownacy 2020-06-29 18:40:17 +01:00
parent 93535c5501
commit 990390adbd

View file

@ -1,5 +1,9 @@
cmake_minimum_required(VERSION 3.8) 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 # # Constants #