Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit f7cb0ae

Browse files
committed
chore: windows patch
1 parent a2886d2 commit f7cb0ae

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed
-13.7 KB
Binary file not shown.
20.8 KB
Binary file not shown.
5.3 KB
Binary file not shown.

engine/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,12 @@ set_target_properties(${TARGET_NAME} PROPERTIES
225225
RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}
226226
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
227227
)
228+
229+
if(MSVC)
230+
add_custom_command(
231+
TARGET ${TARGET_NAME} POST_BUILD
232+
COMMAND ${CMAKE_COMMAND} -E copy_directory
233+
${CMAKE_CURRENT_SOURCE_DIR}/../.github/patches/windows
234+
${CMAKE_BINARY_DIR}/
235+
)
236+
endif()

0 commit comments

Comments
 (0)