make OS X executable an app

This commit is contained in:
Stephen Birarda 2013-02-15 11:27:43 -08:00
parent c3849fa8ca
commit a37410968c

View file

@ -18,7 +18,7 @@ configure_file(InterfaceConfig.h.in ${PROJECT_BINARY_DIR}/includes/InterfaceConf
file(GLOB INTERFACE_SRCS src/*.cpp src/*.h)
add_executable(interface ${INTERFACE_SRCS})
add_executable(interface MACOSX_BUNDLE ${INTERFACE_SRCS})
include(../LinkHifiShared.cmake)
link_hifi_shared_library(interface)
@ -71,4 +71,9 @@ if (UNIX AND NOT APPLE)
${JACK_LIBRARIES}
${ALSA_LIBRARIES}
)
endif (UNIX AND NOT APPLE)
endif (UNIX AND NOT APPLE)
INSTALL(TARGETS interface
BUNDLE DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/install COMPONENT Runtime
RUNTIME DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/install COMPONENT Runtime
)