summaryrefslogtreecommitdiffstats
path: root/cmake/platforms/Platform/Integrity.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platforms/Platform/Integrity.cmake')
-rw-r--r--cmake/platforms/Platform/Integrity.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/platforms/Platform/Integrity.cmake b/cmake/platforms/Platform/Integrity.cmake
new file mode 100644
index 0000000000..0ad7fd1099
--- /dev/null
+++ b/cmake/platforms/Platform/Integrity.cmake
@@ -0,0 +1,11 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# Custom platform module file for INTEGRITY.
+#
+# UNIX must be set here, because this variable is cleared after the toolchain file is loaded.
+#
+# Once the lowest CMake version we support ships an Integrity platform module,
+# we can remove this file.
+
+set(UNIX 1)