Build Cocoa example even when not using Xcode

This commit is contained in:
Chris Thrasher 2023-12-22 20:14:13 -06:00 committed by Lukas Dürrenberger
parent d00ab43ea6
commit 3ea228434b

View File

@ -35,7 +35,7 @@ if(SFML_BUILD_GRAPHICS)
if(NOT SFML_USE_DRM) if(NOT SFML_USE_DRM)
add_subdirectory(X11) add_subdirectory(X11)
endif() endif()
elseif(SFML_OS_MACOS AND ${CMAKE_GENERATOR} MATCHES "Xcode") elseif(SFML_OS_MACOS)
add_subdirectory(cocoa) add_subdirectory(cocoa)
endif() endif()
endif() endif()