summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-03-15 18:11:45 -0400
committerLouie S <louie@example.com>2024-03-15 18:11:45 -0400
commiteed10c754c6ac1ea92df843f68b151a79b0e55d8 (patch)
tree65f15b952db364d2bbefb525cd428934a96ed4dd
parent0112b8766eb9571d103ec6e2d03b5174ee6e3ac4 (diff)
Avoid opening console on windows
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6cf863b..fea0dae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,4 +87,7 @@ add_executable(assignment-list
${project_misc}
)
+# Avoid opening console on windows
+set_target_properties(assignment-list PROPERTIES WIN32_EXECUTABLE ON)
+
target_link_libraries(assignment-list ${qt_libraries})