Build an app bundle on macOS (#1355)

This commit is contained in:
Tatsh 2019-03-23 06:47:47 -04:00 committed by Florian Märkl
parent e096f3ee4a
commit fa6e465bd4

View File

@ -147,7 +147,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
endif()
add_executable(Cutter ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES} ${BINDINGS_SOURCE})
add_executable(Cutter MACOSX_BUNDLE ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES} ${BINDINGS_SOURCE})
set_target_properties(Cutter PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist")
target_link_libraries(Cutter Qt5::Core Qt5::Widgets Qt5::Gui Qt5::Svg Qt5::Network)
target_link_libraries(Cutter ${RADARE2_LIBRARIES})