Fix CMake error when LTO is enabled
This commit is contained in:
parent
93535c5501
commit
990390adbd
1 changed files with 4 additions and 0 deletions
|
@ -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 #
|
||||
|
|
Loading…
Add table
Reference in a new issue