Fix CMake matches.

This commit is contained in:
2021-04-19 13:40:11 +01:00
parent d9a2c28c65
commit 985e87c6f9
4 changed files with 5 additions and 4 deletions

View File

@@ -22,7 +22,8 @@
# Copyright (C) 2011-2021 Natalia Portillo
# *****************************************************************************/
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "AmigaOS" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "MorphOS" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "AROS")
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "AmigaOS|MorphOS" AND NOT AROS)
message("Ignoring Amiga")
return()
endif()