Skip to content

Commit

Permalink
Set CMake policy CMP0135
Browse files Browse the repository at this point in the history
This hopefully fixes the following error on ROS2 Rolling (Ubuntu 24.04):

    The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is...

See https://build.ros2.org/job/Rdev__phidgets_drivers__ubuntu_noble_amd64/4/cmake/
  • Loading branch information
mintar committed Apr 26, 2024
1 parent 67f5956 commit 5bc055d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libphidget22/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.5)
cmake_policy(SET CMP0135 NEW) # https://cmake.org/cmake/help/latest/policy/CMP0135.html
project(libphidget22)

find_package(ament_cmake REQUIRED)
Expand Down

0 comments on commit 5bc055d

Please sign in to comment.