Skip to content

Commit 4904470

Browse files
authored
Merge pull request #487 from jorisv/topic/remove_cmake_warnings
Set policy CMP0167 to avoid warnings with CMake 3.30
2 parents bbc26ed + ebedc7e commit 4904470

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
99
### Added
1010
- Add compatibility with jrl-cmakemodules workspace ([#485](https://github.com/stack-of-tasks/eigenpy/pull/485))
1111

12+
### Fixed
13+
- Remove CMake CMP0167 warnings ([#487](https://github.com/stack-of-tasks/eigenpy/pull/487))
14+
1215
## [3.7.0] - 2024-06-11
1316

1417
### Added

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ option(SUFFIX_SO_VERSION "Suffix library name with its version" OFF)
6868
option(BUILD_TESTING_SCIPY
6969
"Build the SciPy tests (scipy should be installed on the machine)" ON)
7070

71+
# Use BoostConfig module distributed by boost library instead of using FindBoost
72+
# module distributed by CMake
73+
if(POLICY CMP0167)
74+
cmake_policy(SET CMP0167 NEW)
75+
endif()
7176
include("${JRL_CMAKE_MODULES}/base.cmake")
7277
compute_project_args(PROJECT_ARGS LANGUAGES CXX)
7378
project(${PROJECT_NAME} ${PROJECT_ARGS})

0 commit comments

Comments
 (0)