mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Only build Cocoa example when using Xcode
This commit is contained in:
parent
3197dc8029
commit
7d47e740bb
@ -32,7 +32,7 @@ if(SFML_BUILD_GRAPHICS)
|
||||
add_subdirectory(win32)
|
||||
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD)
|
||||
add_subdirectory(X11)
|
||||
elseif(SFML_OS_MACOSX)
|
||||
elseif(SFML_OS_MACOSX AND ${CMAKE_GENERATOR} MATCHES "Xcode")
|
||||
add_subdirectory(cocoa)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user