mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Only build Cocoa example when using Xcode
This commit is contained in:
parent
2ea46c8702
commit
70e0ad28d4
@ -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