Skip to content
Permalink
Browse files

Update CMakeLists.txt

  • Loading branch information...
jp-embedded committed May 23, 2019
1 parent da8ca80 commit ce5e17be501f035a5ff6384447bcd589131f1461
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/CMakeLists.txt
@@ -30,7 +30,7 @@ install(FILES ${CMAKE_SOURCE_DIR}/cmake/Modules/scxmlcc_generator.cmake
if(UNIX)
# create version header - in build folder
ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_BINARY_DIR}/version_auto.h
COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && autorevision -tsh > ${CMAKE_BINARY_DIR}/autorevision.mk
COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && autorevision -tsh > ${CMAKE_BINARY_DIR}/autorevision.mk || true
COMMAND cd ${CMAKE_BINARY_DIR} && sh ${CMAKE_CURRENT_SOURCE_DIR}/makerevision.sh || truncate -s0 version_auto.h
)
else()

0 comments on commit ce5e17b

Please sign in to comment.
You can’t perform that action at this time.