1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 03:53:23 +02:00

cmake: prevent the console from showing up by default

Change-Id: I87f352bf69dd5d60e9df821d3e1f9e7b349c29e2
This commit is contained in:
Ming Rui Zhang 2021-04-19 09:44:59 -04:00
parent bbafcaceba
commit 8152db585c

View file

@ -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}