Skip to content

Commit

Permalink
Use old behaviour for CMP0125
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Jan 29, 2025
1 parent 0146939 commit 61890f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
cmake_minimum_required(VERSION 3.21)
message(STATUS "Building using CMake version: ${CMAKE_VERSION}")

# https://cmake.org/cmake/help/latest/policy/CMP0125.html
#
# find_(path|file|library|program) have consistent behavior for cache variables.
cmake_policy(SET CMP0125 OLD)

# https://www.cmake.org/cmake/help/latest/policy/CMP0025.html
#
# Compiler id for Apple Clang is now AppleClang.
Expand Down

0 comments on commit 61890f9

Please sign in to comment.