mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-24 18:02:30 +00:00
Compile regexp dependency when AMIGA is defined.
Before it was compiled when CMake was actually run on AmigaOS.
This commit is contained in:
parent
c57c4af327
commit
707ede8633
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user