summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux-Initialize.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Linux-Initialize.cmake')
-rw-r--r--Modules/Platform/Linux-Initialize.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-Initialize.cmake b/Modules/Platform/Linux-Initialize.cmake
new file mode 100644
index 0000000..7166b20
--- /dev/null
+++ b/Modules/Platform/Linux-Initialize.cmake
@@ -0,0 +1,5 @@
+set(LINUX 1)
+set(UNIX 1)
+
+# Match multiarch library directory names.
+set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*")