Skip to content

Commit 1d3c91f

Browse files
committed
use VERSION_GREATER_EQUAL and use correct python var
1 parent 464acd9 commit 1d3c91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ endif()
195195

196196
# Stub generation requires typing-extensions
197197
# ROS Humble ships an incompatible typing-extensions with python3.10
198-
if(PYTHON_VERSION_MAJOR EQUAL 3 AND PYTHON_VERSION_MINOR GREATER_EQUAL 11)
198+
if(Python_VERSION VERSION_GREATER_EQUAL 3.11.0)
199199
nanobind_add_stub(
200200
nanoeigenpy_stub
201201
VERBOSE

0 commit comments

Comments
 (0)