diff --git a/examples/cocoa/CMakeLists.txt b/examples/cocoa/CMakeLists.txt index 9713a2dde..b8b2b4eee 100644 --- a/examples/cocoa/CMakeLists.txt +++ b/examples/cocoa/CMakeLists.txt @@ -28,6 +28,9 @@ set_target_properties(cocoa PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${SRCROOT}/resources/Cocoa-Info.plist) target_link_libraries(cocoa "-framework Cocoa -framework Foundation" sfml-system sfml-window sfml-graphics) + +# set the target's folder (for IDEs that support it, e.g. Visual Studio) +set_target_properties(cocoa PROPERTIES FOLDER "Examples") # compile XIB files find_program(IBTOOL ibtool HINTS "/usr/bin" "${OSX_DEVELOPER_ROOT}/usr/bin")