File tree Expand file tree Collapse file tree 3 files changed +1253
-1220
lines changed Expand file tree Collapse file tree 3 files changed +1253
-1220
lines changed Original file line number Diff line number Diff line change 4545 body-path : diff.md
4646 branch : topic/update-pixi
4747 base : devel
48- labels : pixi
48+ labels : |
49+ pixi
50+ no changelog
4951 delete-branch : true
5052 add-paths : pixi.lock
Original file line number Diff line number Diff line change @@ -68,10 +68,26 @@ option(SUFFIX_SO_VERSION "Suffix library name with its version" OFF)
6868option (BUILD_TESTING_SCIPY
6969 "Build the SciPy tests (scipy should be installed on the machine)" ON )
7070
71+ # ----------------------------------------------------
72+ # --- Policy -----------------------------------------
73+ # CMake Policy setup
74+ # ----------------------------------------------------
75+ # Policy can be removed when cmake_minimum_required is updated.
76+
77+ # We also set CMAKE_POLICY_DEFAULT_CMPXXXX because CMake modules can reset
78+ # policy and redefine some macros like `find_dependency` that will not use our
79+ # policy.
80+
7181# Use BoostConfig module distributed by boost library instead of using FindBoost
72- # module distributed by CMake
82+ # module distributed by CMake (to remove in 3.30).
7383if (POLICY CMP0167)
7484 cmake_policy (SET CMP0167 NEW)
85+ set (CMAKE_POLICY_DEFAULT_CMP0167 NEW)
86+ endif ()
87+ # install() DESTINATION paths are normalized (to remove in 3.31).
88+ if (POLICY CMP0177)
89+ cmake_policy (SET CMP0177 NEW)
90+ set (CMAKE_POLICY_DEFAULT_CMP0177 NEW)
7591endif ()
7692include ("${JRL_CMAKE_MODULES} /base.cmake" )
7793compute_project_args(PROJECT_ARGS LANGUAGES CXX)
You can’t perform that action at this time.
0 commit comments