Compile regexp dependency when AMIGA is defined.

Before it was compiled when CMake was actually run on AmigaOS.
This commit is contained in:
Sebastian Bauer 2013-01-04 03:25:05 +01:00
parent c57c4af327
commit 707ede8633

View File

@ -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()