Skip to content

Commit 9da2d3a

Browse files
committed
prevent the creation of terminal window on Windows
1 parent 0821b5f commit 9da2d3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ endif()
284284

285285
set_target_properties(gui PROPERTIES OUTPUT_NAME cutechess)
286286
set_target_properties(gui PROPERTIES AUTOUIC_SEARCH_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/projects/gui/ui)
287+
set_target_properties(gui PROPERTIES WIN32_EXECUTABLE ON)
287288

288289
target_include_directories(gui PRIVATE
289290
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/projects/gui/3rdparty/qcustomplot>

0 commit comments

Comments
 (0)