all repos — mgba @ 85cdb42a17023db6cc7eaf89feee7f0a03460a96

mGBA Game Boy Advance Emulator

All: Use cmake-builtin `touch` for increased portability
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 Jul 2015 00:44:21 -0700
commit

85cdb42a17023db6cc7eaf89feee7f0a03460a96

parent

ca0fb2ede6714d31708a8d4e052f6c1a51af0ce1

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -107,7 +107,7 @@ set(VERSION_STRING ${LIB_VERSION_ABI}-${VERSION_STRING})

endif() endif() -add_custom_target(version-info ALL touch ${CMAKE_SOURCE_DIR}/src/util/version.c.in +add_custom_target(version-info ALL ${CMAKE_COMMAND} -E touch ${CMAKE_SOURCE_DIR}/src/util/version.c.in COMMAND ${CMAKE_COMMAND} -DGIT_COMMIT=${GIT_COMMIT} -DGIT_COMMIT_SHORT=${GIT_COMMIT_SHORT}