wesnoth/cmake/po4a-manual.cmake
Mark de Wever 1000f2533c Reimplement the update-po4a-manual.
This version can be build in parallel. Also remove the original po4a
update code.
2011-01-08 11:44:35 +00:00

9 lines
226 B
CMake

# Small helper to execute code see doc/manual/CMakeLists.txt
# for more information
if(EXISTS ${SOURCE})
string(REPLACE "\\ " " " CMD ${CMD})
separate_arguments(CMD)
execute_process(COMMAND ${CMD})
endif(EXISTS ${SOURCE})