Skip to content

Commit 821b595

Browse files
committed
Silent pybind11 warning
1 parent 1acf72e commit 821b595

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/cmake/pybind11.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pybind11 must use the ROS python version
2-
set(PYBIND11_PYTHON_VERSION ${PYTHON_VERSION_STRING})
2+
set(PYBIND11_PYTHON_VERSION ${PYTHON_VERSION})
33

44
if(@INSTALLSPACE@)
55
include(${CMAKE_CURRENT_LIST_DIR}/pybind11Config.cmake)

core/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# We rely on pybind11's smart_holder branch imported pybind11 via git submodule
22

33
# pybind11 must use the ROS python version
4-
set(PYBIND11_PYTHON_VERSION ${PYTHON_VERSION_STRING})
4+
set(PYBIND11_PYTHON_VERSION ${PYTHON_VERSION})
55

66
# Use minimum-size optimization for pybind11 bindings
77
add_compile_options("-Os")

0 commit comments

Comments
 (0)