Skip to content

Commit

Permalink
App: Disable command line appearing on Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
VoiEiSeOnSuomiServine committed Mar 5, 2024
1 parent 7060664 commit f79894c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ qt_add_executable(DesktopZephyr
${SOURCES} ${OS_SOURCES}
)

if(WIN32)
set_property(TARGET DesktopZephyr PROPERTY WIN32_EXECUTABLE true)
endif()

target_link_libraries(DesktopZephyr PRIVATE Qt6::Core Qt6::Widgets ${OS_LINK})

0 comments on commit f79894c

Please sign in to comment.