mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
make OS X executable an app
This commit is contained in:
parent
c3849fa8ca
commit
a37410968c
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
)
|
Loading…
Reference in a new issue