diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 5709c56..571fcc5 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -57,18 +57,14 @@ set( qt_add_executable(qtk_gui ${QTK_GUI_SOURCES}) target_link_libraries(qtk_gui PRIVATE qtk_plugin_library) -if (WIN32) - set_target_properties(qtk_gui PROPERTIES WIN32_EXECUTABLE TRUE) -elseif(APPLE) - set_target_properties( - qtk_gui PROPERTIES - MACOSX_BUNDLE TRUE - MACOSX_BUNDLE_BUNDLE_NAME Qtk - MACOSX_BUNDLE_ICON_FILE ${QTK_OSX_ICONS} - MACOSX_BUNDLE_GUI_IDENTIFIER ${CMAKE_PROJECT_NAME} - MACOSX_BUNDLE_INFO_STRING ${CMAKE_PROJECT_DESCRIPTION} - MACOSX_BUNDLE_COPYRIGHT ${QTK_COPYRIGHT} - MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION} - MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} - ) -endif() \ No newline at end of file +set_target_properties(qtk_gui PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE + MACOSX_BUNDLE_BUNDLE_NAME Qtk + MACOSX_BUNDLE_ICON_FILE ${QTK_OSX_ICONS} + MACOSX_BUNDLE_GUI_IDENTIFIER ${CMAKE_PROJECT_NAME} + MACOSX_BUNDLE_INFO_STRING ${CMAKE_PROJECT_DESCRIPTION} + MACOSX_BUNDLE_COPYRIGHT ${QTK_COPYRIGHT} + MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION} + MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} +) \ No newline at end of file