Skip to content
Snippets Groups Projects
Commit 526551e9 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[wip/pal-statistics] Add patch-aa

to fix configure when GMOCK_FOUND is not set.
parent 27a17cb3
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ include ../../interfaces/ros-std-msgs/depend.mk
include ../../lang/ros-message-generation/depend.mk
include ../../lang/ros-message-runtime/depend.mk
include ../../middleware/ros-comm/depend.mk
include ../../mk/sysdep/googletest.mk
include ../../mk/language/c++.mk
include ../../mk/language/c.mk
include ../../mk/robotpkg.mk
SHA1 (pal-statistics/1.3.1.tar.gz) = ffbf1fec732cb39af874859b9db39e6cbd57aa95
RMD160 (pal-statistics/1.3.1.tar.gz) = 442798405509c712b3289f5eb2fa5fc500c20046
Size (pal-statistics/1.3.1.tar.gz) = 329941 bytes
SHA1 (patch-aa) = 334e32f45341e7b778485ce42e6ebefea8c720fb
if GMOCK is not found, pal_statistics-test target doesn't exist:
https://github.com/pal-robotics-forks/ros_comm/blob/lunar-devel/tools/rostest/cmake/rostest-extras.cmake.em#L78
--- pal_statistics/CMakeLists.txt.orig 2019-08-28 13:19:58.000000000 +0200
+++ pal_statistics/CMakeLists.txt 2020-02-18 18:55:58.287631522 +0100
@@ -104,10 +104,12 @@
${PROJECT_NAME}
${catkin_LIBRARIES})
+ IF(GMOCK_FOUND)
add_rostest_gmock(pal_statistics-test test/pal_statistics.test test/gtest_pal_statistics.cpp)
target_link_libraries(pal_statistics-test
${PROJECT_NAME}
${catkin_LIBRARIES})
+ ENDIF(GMOCK_FOUND)
add_rostest(test/pal_statistics_py.test)
endif(CATKIN_ENABLE_TESTING)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment