Skip to content

Commit

Permalink
Merge pull request #7 from jorisv/topic/remove_cmake_warnings
Browse files Browse the repository at this point in the history
Set policy CMP0167 to avoid warnings with CMake 3.30
  • Loading branch information
jorisv authored Jul 24, 2024
2 parents b47822f + 3307b3c commit c4ebdb0
Show file tree
Hide file tree
Showing 4 changed files with 1,579 additions and 1,464 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Add compatibility with jrl-cmakemodules workspace ([#2](https://github.com/Simple-Robotics/LoIK/pull/2))

### Fixed
- Remove CMake CMP0167 warnings ([#7](https://github.com/Simple-Robotics/LoIK/pull/7))

## [1.0.0] - 2024-07-17

### Added
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ endif()
set(DOXYGEN_USE_MATHJAX YES)
set(DOXYGEN_USE_TEMPLATE_CSS YES)

# 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})
Expand Down
Loading

0 comments on commit c4ebdb0

Please sign in to comment.