port: cmake: remove console window on windows

This commit is contained in:
fgsfds committed 2024-11-13 09:07:17 +01:00
1 parent 5d9fe034ea
commit b408d54dfb
1 file changed
+3
+3
View File
@@ -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()