Skip to content

Commit

Permalink
CMake: Copy support files into build directory
Browse files Browse the repository at this point in the history
This makes it possible to run bygfoot from the build directory.
  • Loading branch information
tstellar committed Mar 6, 2021
1 parent 95a1507 commit 080dcfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,8 @@ if (GETTEXT_FOUND)
bygfoot.mo)
endforeach()
endif()

add_custom_command(TARGET bygfoot POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_SOURCE_DIR}/support_files
${CMAKE_BINARY_DIR}/support_files)

0 comments on commit 080dcfe

Please sign in to comment.