summaryrefslogtreecommitdiff
path: root/contrib/depends/toolchain.cmake.in
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-11-19 22:00:09 -0500
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-11-19 22:00:09 -0500
commit733e2ef4aba51e153ebee902e57045b438bb12d4 (patch)
tree94439f889e679647c848ac9ab8853bb3eba5623a /contrib/depends/toolchain.cmake.in
parentc1a388f070eea05098c201e8d8531ee08ad695b2 (diff)
update my progress
Diffstat (limited to 'contrib/depends/toolchain.cmake.in')
-rw-r--r--contrib/depends/toolchain.cmake.in5
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