summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/GNU-Initialize.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/GNU-Initialize.cmake')
-rw-r--r--Modules/Platform/GNU-Initialize.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/GNU-Initialize.cmake b/Modules/Platform/GNU-Initialize.cmake
new file mode 100644
index 0000000..3db6cff18
--- /dev/null
+++ b/Modules/Platform/GNU-Initialize.cmake
@@ -0,0 +1,3 @@
+set(UNIX 1)
+
+set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-gnu[a-z0-9_]*")