File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [submodule "pybind11 "]
2+ path = pybind11
3+ url = https://github.com/pybind/pybind11.git
4+ branch = v3.0
Original file line number Diff line number Diff line change @@ -5,7 +5,15 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
55 add_compile_options (-Wall -Wextra -Wpedantic )
66endif ()
77
8- find_package (pybind11 REQUIRED )
8+ #################################
9+ # pybind11 import block [BEGIN] #
10+ # vvvvvvvvvvvvvvvvvvvvvvvvvvvvv #
11+ set (PYBIND11_FINDPYTHON ON ) # Fix CMP0148 Warning. https://github.com/pybind/pybind11/issues/4785
12+ add_subdirectory (pybind11 )
13+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^ #
14+ # pybind11 import block [END] #
15+ ###############################
16+
917find_package (ament_cmake REQUIRED )
1018find_package (rclcpp REQUIRED )
1119find_package (geometry_msgs REQUIRED )
You can’t perform that action at this time.
0 commit comments