mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
cmake: prevent the console from showing up by default
Change-Id: I87f352bf69dd5d60e9df821d3e1f9e7b349c29e2
This commit is contained in:
parent
bbafcaceba
commit
8152db585c
1 changed files with 3 additions and 0 deletions
|
@ -295,6 +295,9 @@ add_executable(${PROJECT_NAME}
|
|||
${LRC_SRC_PATH}/webresource.qrc)
|
||||
|
||||
if(MSVC)
|
||||
# Makes it a GUI executable instead of a console application
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES WIN32_EXECUTABLE TRUE)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
${QML_LIBS}
|
||||
${QRENCODE_LIB}
|
||||
|
|
Loading…
Add table
Reference in a new issue