mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-27 07:46:17 +01:00
force GUI app on win32
This commit is contained in:
parent
f904f14dfe
commit
5cdc7f1164
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user