From b408d54dfb958b197a968446888e95d018afbc1a Mon Sep 17 00:00:00 2001 From: fgsfds Date: Wed, 13 Nov 2024 09:07:17 +0100 Subject: [PATCH] port: cmake: remove console window on windows --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 85b0717c0..330b411b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -300,3 +300,6 @@ add_executable(pd ${SRC}) add_dependencies(pd pd_headers) target_link_libraries(pd ${LIBS}) set_target_properties(pd PROPERTIES OUTPUT_NAME "pd${BIN_REGION}.${TARGET_ARCH}") +if(WIN32) + set_target_properties(pd PROPERTIES WIN32_EXECUTABLE TRUE) +endif()