diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index ab7fe3e70..6d9ae79e3 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -338,7 +338,11 @@ if(WIN32) set(simu_SRCS ${simu_SRCS} icon.rc) endif() -add_executable(simulator WIN32 ${simu_SRCS}) +if(APPLE) + add_executable(simulator MACOSX_BUNDLE ${simu_SRCS}) +else() + add_executable(simulator WIN32 ${simu_SRCS}) +endif() if(SDL_FOUND) target_link_libraries(simulator simulation common ${QT_LIBRARIES} ${PTHREAD_LIBRARY} ${SDL_LIBRARY} ${PHONON_LIBS})