Skip to content

Commit 97dc9f4

Browse files
committed
fix: support building in ROS2 humble with newer cmake
1 parent 75d98dd commit 97dc9f4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

mola_state_estimation_smoother/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
# Released under GNU GPL v3. See LICENSE file
88
# ------------------------------------------------------------------------------
99

10-
# Minimum CMake vesion: limited by CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
11-
cmake_minimum_required(VERSION 3.22...3.31) # Ubuntu 22.04+
10+
# Rolled-back to support ROS2 Humble (FindPythonInterp.cmake)
11+
#cmake_minimum_required(VERSION 3.22...3.31) # Ubuntu 22.04+
12+
cmake_minimum_required(VERSION 3.10)
1213

1314
if("$ENV{ROS_VERSION}" STREQUAL "2")
1415
set(DETECTED_ROS2 TRUE)

0 commit comments

Comments
 (0)