Compile regexp dependency when AMIGA is defined. Before it was compiled when CMake was actually run on AmigaOS.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e8eb46e..8dd4f07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -106,7 +106,7 @@ ELSE()
ENDIF()
# Include POSIX regex when it is required
-IF(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "AmigaOS")
+IF(WIN32 OR AMIGA)
INCLUDE_DIRECTORIES(deps/regex)
SET(SRC_REGEX deps/regex/regex.c)
ENDIF()