aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-05-15 11:01:31 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-08-16 21:19:10 +0100
commit91a799247dc5e4627e6b2f221669c8ff9238bc8d (patch)
treeab4c83502e9b36176605e61d7b51d861c4f56d51 /depends
parent9b31209b4caaa02b3044acd2375a7f595cdbd520 (diff)
depends: Add host-specific `cmake_system_version` variables
Diffstat (limited to 'depends')
-rw-r--r--depends/hosts/darwin.mk3
-rw-r--r--depends/hosts/linux.mk3
-rw-r--r--depends/hosts/mingw32.mk2
3 files changed, 8 insertions, 0 deletions
diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk
index 6104239735..a27d8b323b 100644
--- a/depends/hosts/darwin.mk
+++ b/depends/hosts/darwin.mk
@@ -76,3 +76,6 @@ darwin_debug_CFLAGS=-O1 -g
darwin_debug_CXXFLAGS=$(darwin_debug_CFLAGS)
darwin_cmake_system_name=Darwin
+# Darwin version, which corresponds to OSX_MIN_VERSION.
+# See https://en.wikipedia.org/wiki/Darwin_(operating_system)
+darwin_cmake_system_version=20.1
diff --git a/depends/hosts/linux.mk b/depends/hosts/linux.mk
index df01b6b2c0..e2f34265d1 100644
--- a/depends/hosts/linux.mk
+++ b/depends/hosts/linux.mk
@@ -39,4 +39,7 @@ i686_linux_CXX=$(default_host_CXX) -m32
x86_64_linux_CC=$(default_host_CC) -m64
x86_64_linux_CXX=$(default_host_CXX) -m64
endif
+
linux_cmake_system_name=Linux
+# Refer to doc/dependencies.md for the minimum required kernel.
+linux_cmake_system_version=3.17.0
diff --git a/depends/hosts/mingw32.mk b/depends/hosts/mingw32.mk
index 6e868322d5..c09f7b1e3a 100644
--- a/depends/hosts/mingw32.mk
+++ b/depends/hosts/mingw32.mk
@@ -20,3 +20,5 @@ mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS)
mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
mingw32_cmake_system_name=Windows
+# Windows 7 (NT 6.1).
+mingw32_cmake_system_version=6.1