From a9dd1625d8e888aabf80a4ff48e66474fdfb747b Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Wed, 24 Jul 2024 14:23:22 +0200 Subject: [PATCH 1/2] cmake: Set policy CMP0167 to avoid warnings with CMake 3.30 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 423fa7134..56864d6b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,6 +68,11 @@ option(SUFFIX_SO_VERSION "Suffix library name with its version" OFF) option(BUILD_TESTING_SCIPY "Build the SciPy tests (scipy should be installed on the machine)" ON) +# Use BoostConfig module distributed by boost library instead of using FindBoost +# module distributed by CMake +if(POLICY CMP0167) + cmake_policy(SET CMP0167 NEW) +endif() include("${JRL_CMAKE_MODULES}/base.cmake") compute_project_args(PROJECT_ARGS LANGUAGES CXX) project(${PROJECT_NAME} ${PROJECT_ARGS}) From ebedc7ee340ff47b1720a77cd81ecd8bccbe47b6 Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Wed, 24 Jul 2024 14:26:36 +0200 Subject: [PATCH 2/2] changelog: Add changelog entry --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 800d2097b..3fbb059ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added - Add compatibility with jrl-cmakemodules workspace ([#485](https://github.com/stack-of-tasks/eigenpy/pull/485)) +### Fixed +- Remove CMake CMP0167 warnings ([#487](https://github.com/stack-of-tasks/eigenpy/pull/487)) + ## [3.7.0] - 2024-06-11 ### Added