Fix CMake error with versions older than 3.9
This commit is contained in:
parent
0936f2f52c
commit
95ad34c5d7
@ -98,7 +98,9 @@ cmake_policy(SET CMP0010 NEW)
|
||||
cmake_policy(SET CMP0014 NEW)
|
||||
|
||||
# Silence draco warning on macOS, new policy works fine.
|
||||
cmake_policy(SET CMP0068 NEW)
|
||||
if(POLICY CMP0068)
|
||||
cmake_policy(SET CMP0068 NEW)
|
||||
endif()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Load some macros.
|
||||
|
Loading…
Reference in New Issue
Block a user