1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-24 13:07:44 +00:00

Don't mark argcracker as a GUI application on Windows & macOS

This commit is contained in:
Joshua Goins 2024-04-25 19:23:08 -04:00
parent 9d364579b7
commit 6fdf41e7b1
2 changed files with 4 additions and 3 deletions

View file

@ -27,6 +27,7 @@ include(FeatureSummary)
include(FetchContent)
include(ECMGenerateExportHeader)
include(ECMAddAppIcon)
include(ECMMarkNonGuiExecutable)
ecm_setup_version(${PROJECT_VERSION}
VARIABLE_PREFIX NOVUS

View file

@ -25,10 +25,10 @@ endif ()
install(TARGETS novus-argcracker ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
ecm_mark_nongui_executable(novus-argcracker)
if (WIN32)
set_target_properties(novus-argcracker PROPERTIES
WIN32_EXECUTABLE TRUE
OUTPUT_NAME "ArgCracker")
set_target_properties(novus-argcracker PROPERTIES OUTPUT_NAME "ArgCracker")
install(FILES $<TARGET_RUNTIME_DLLS:novus-argcracker> DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()