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