Skip to content

Commit

Permalink
fix: find msgfmt error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Serein207 committed Sep 26, 2024
1 parent 953a037 commit 14236cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
}
cmake --preset native @additionalConfigureArgs
cmake --build --preset native-release
cmake --build --preset native-release -DVCPKG_USE_HOST_TOOLS=1
- name: Archive files
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if (WIN32)
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:${PROJECT_NAME}> $<TARGET_FILE_DIR:${PROJECT_NAME}> COMMAND_EXPAND_LISTS)
endif()

find_program(MSGFMT_EXECUTABLE msgfmt)
find_program(MSGFMT_EXECUTABLE msgfmt REQUIRED)

add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${SOURCE_LOCALE_DIR}/en/LC_MESSAGES
Expand Down

0 comments on commit 14236cb

Please sign in to comment.