Skip to content

Commit

Permalink
Fix CMake Error: xmlrpcvalue_base64 not built by.. (#1197)
Browse files Browse the repository at this point in the history
Error occurs when using catkin-tools or catkin_make_isolated --install.
catkin_make_isolated didn't complain without the --install option.

CMake Error at .../xmlrpcpp/test/CMakeLists.txt:2 (target_link_libraries):
  Cannot specify link libraries for target "xmlrpcvalue_base64" which is not
  built by this project.
  • Loading branch information
moriarty authored and dirk-thomas committed Oct 22, 2017
1 parent 34d0237 commit 1014aa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utilities/xmlrpcpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
catkin_add_gtest(xmlrpcvalue_base64 xmlrpcvalue_base64.cpp)
target_link_libraries(xmlrpcvalue_base64 xmlrpcpp)
if(TARGET xmlrpcvalue_base64)
target_link_libraries(xmlrpcvalue_base64 xmlrpcpp)
endif()

0 comments on commit 1014aa6

Please sign in to comment.