Skip to content
Permalink
Browse files

Merge pull request #101 from jp-embedded/issue_100

Update CMakeLists.txt
  • Loading branch information...
jp-embedded committed May 24, 2019
2 parents da8ca80 + ce5e17b commit eeaec0776649a479bafaedc58eafe7949bfff66e
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 eeaec07

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