Commit 8152db58 authored by Ming Rui Zhang's avatar Ming Rui Zhang

cmake: prevent the console from showing up by default

Change-Id: I87f352bf69dd5d60e9df821d3e1f9e7b349c29e2
parent bbafcace
......@@ -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}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment