diff --git a/src/SFML/CMakeLists.txt b/src/SFML/CMakeLists.txt index 35246e5e7..9dcea0b0b 100644 --- a/src/SFML/CMakeLists.txt +++ b/src/SFML/CMakeLists.txt @@ -47,7 +47,7 @@ if(SFML_OS_WINDOWS OR SFML_OS_ANDROID OR SFML_OS_IOS) endif() add_subdirectory(Window) add_subdirectory(Network) -add_subdirectory(Graphics) -if(NOT SFML_OS_IOS OR NOT (SFML_OS_ANDROID AND ${ANDROID_ABI} MATCHES "mips")) +add_subdirectory(Graphics) +if(NOT SFML_OS_IOS AND NOT (SFML_OS_ANDROID AND "${ANDROID_ABI}" MATCHES "mips")) add_subdirectory(Audio) endif()