Skip to content

Commit c4ebdb0

Browse files
authored
Merge pull request #7 from jorisv/topic/remove_cmake_warnings
Set policy CMP0167 to avoid warnings with CMake 3.30
2 parents b47822f + 3307b3c commit c4ebdb0

File tree

4 files changed

+1579
-1464
lines changed

4 files changed

+1579
-1464
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
### Added
1414
- Add compatibility with jrl-cmakemodules workspace ([#2](https://github.com/Simple-Robotics/LoIK/pull/2))
1515

16+
### Fixed
17+
- Remove CMake CMP0167 warnings ([#7](https://github.com/Simple-Robotics/LoIK/pull/7))
18+
1619
## [1.0.0] - 2024-07-17
1720

1821
### Added

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ endif()
5555
set(DOXYGEN_USE_MATHJAX YES)
5656
set(DOXYGEN_USE_TEMPLATE_CSS YES)
5757

58+
# Use BoostConfig module distributed by boost library instead of using FindBoost module distributed
59+
# by CMake
60+
if(POLICY CMP0167)
61+
cmake_policy(SET CMP0167 NEW)
62+
endif()
5863
include(${JRL_CMAKE_MODULES}/base.cmake)
5964
compute_project_args(PROJECT_ARGS LANGUAGES CXX)
6065
project(${PROJECT_NAME} ${PROJECT_ARGS})

0 commit comments

Comments
 (0)