Skip to content

Commit 257de66

Browse files
committed
cmake: find using *_ROOT hints
1 parent 74e8ea4 commit 257de66

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ endif()
2323

2424
project(cil LANGUAGES CXX)
2525

26+
cmake_policy(PUSH)
27+
28+
cmake_policy(SET CMP0074 NEW)
2629
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.27)
2730
cmake_policy(SET CMP0148 OLD)
2831
endif()
@@ -44,3 +47,5 @@ endif()
4447

4548
add_subdirectory(src/Core)
4649
add_subdirectory(Wrappers/Python)
50+
51+
cmake_policy(POP)

0 commit comments

Comments
 (0)