Skip to content

Commit

Permalink
Fixes policy CMP0135 warning for CMake >= 3.24 for mcap_vendor (#1208)
Browse files Browse the repository at this point in the history
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
  • Loading branch information
Crola1702 committed Dec 12, 2022
1 parent 73e21bd commit 0265f53
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mcap_vendor/CMakeLists.txt
Expand Up @@ -6,6 +6,11 @@ find_package(ament_cmake REQUIRED)
find_package(zstd_vendor REQUIRED)
find_package(zstd REQUIRED)

# Avoid DOWNLOAD_EXTRACT_TIMESTAMP warning for CMake >= 3.24
if (POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

## Compile options
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
Expand Down

0 comments on commit 0265f53

Please sign in to comment.