Skip to content

Commit

Permalink
Try fix yamlcpp on win
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Oct 25, 2021
1 parent a2058f7 commit adda310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patch/ros-noetic-camera-calibration-parsers.win.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ index 4f081879..9264d1d6 100644
-if (ANDROID)
- find_package(yaml-cpp)
- add_definitions(-DHAVE_NEW_YAMLCPP)
+pkg_check_modules(YAMLCPP yaml-cpp QUIET)
+# pkg_check_modules(YAMLCPP yaml-cpp QUIET)
+if(NOT YAMLCPP_FOUND)
+ find_package(yaml-cpp 0.6 REQUIRED)
+ set(YAMLCPP_INCLUDE_DIRS ${YAML_CPP_INCLUDE_DIR})
Expand Down

0 comments on commit adda310

Please sign in to comment.