Skip to content

Commit

Permalink
GH-45614: [C++] Use Boost's CMake packages instead of FindBoost.cmake…
Browse files Browse the repository at this point in the history
… in CMake
  • Loading branch information
kou committed Feb 25, 2025
1 parent a94f860 commit e8c05e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

# https://cmake.org/cmake/help/latest/policy/CMP0167.html
#
# Use Boost's CMake packages instead of FindBoost.cmake in CMake.
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()

# https://cmake.org/cmake/help/latest/policy/CMP0170.html
#
# CMP0170 is for enforcing dependency populations by users with
Expand Down

0 comments on commit e8c05e6

Please sign in to comment.