diff options
Diffstat (limited to 'contrib/depends/toolchain.cmake.in')
| -rw-r--r-- | contrib/depends/toolchain.cmake.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in index 8d300bd..b6fc022 100644 --- a/contrib/depends/toolchain.cmake.in +++ b/contrib/depends/toolchain.cmake.in @@ -1,3 +1,6 @@ +cmake_minimum_required(VERSION 3.13) # Ensure CMake version supports CMP0077 +cmake_policy(SET CMP0077 NEW) # Ensure 'option' honors normal variables + # Set the system name to one of Android, Darwin, iOS, FreeBSD, Linux, or Windows SET(CMAKE_SYSTEM_NAME @depends@) SET(CMAKE_SYSTEM_PROCESSOR @arch@) @@ -177,4 +180,4 @@ link_directories(@prefix@/lib) add_definitions(-DPOLYSEED_STATIC=ON) #Create a new global cmake flag that indicates building with depends -set (DEPENDS true) +set (DEPENDS true)
\ No newline at end of file |
