fixed node manager install
@@ -4,8 +4,7 @@ macro(generate_version)
find_program(GIT git)
if (NOT GIT)
message(STATUS "git binary not found, VERSION and DATE files are not created")
- return()
- endif()
+ else(GIT)
# install a file with version tag
set(VERSION_DIR "${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}")
set(VERSION_FILES "")
@@ -36,4 +35,5 @@ macro(generate_version)
DEPENDS ${VERSION_FILES}
COMMENT "Generate version files"
)
+ endif()
endmacro()
