Commit a476c6b8 authored by Jan Möbius's avatar Jan Möbius

Create translations directory before copying files to it



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6710 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 00bb8ca6
......@@ -35,6 +35,9 @@ endmacro ()
# function to copy all translation files from one directory to the OpenFlipper translation directory
# parameters: BuildTarget .. The command will be executed after the target is build
function ( of_copy_translations _target)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Translations )
add_custom_command (TARGET ${_target} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E
copy_if_different
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment