From 5cdc7f11641252f59c6315a9e2bc464e4d9d6814 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 31 Jan 2022 11:05:35 +0100 Subject: [PATCH] force GUI app on win32 --- src/rssguard/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rssguard/CMakeLists.txt b/src/rssguard/CMakeLists.txt index 73e535785..c3f906751 100644 --- a/src/rssguard/CMakeLists.txt +++ b/src/rssguard/CMakeLists.txt @@ -1,13 +1,13 @@ if(WIN32) enable_language("RC") add_executable(app main.cpp ${CMAKE_BINARY_DIR}/rssguard.rc) + set_property(TARGET app PROPERTY WIN32_EXECUTABLE true) else() add_executable(app main.cpp) endif() target_compile_definitions(app PRIVATE RSSGUARD_DLLSPEC=Q_DECL_IMPORT) - -set_target_properties (app PROPERTIES OUTPUT_NAME ${CMAKE_PROJECT_NAME}) +set_target_properties(app PROPERTIES OUTPUT_NAME ${CMAKE_PROJECT_NAME}) target_include_directories(app PUBLIC ${CMAKE_BINARY_DIR}/src/librssguard/rssguard_autogen/include