Skip to content

Commit

Permalink
port: cmake: remove console window on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Nov 13, 2024
1 parent 5d9fe03 commit b408d54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit b408d54

Please sign in to comment.