Skip to content

Commit 1134785

Browse files
authored
Merge pull request #526 from Xilinx/matthias.cmake_CMP0175
cmake: Use old CMP0175 policy
2 parents aef6cef + bc3a125 commit 1134785

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mlir/cmake/modules/AddMLIRPython.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
# grouping. Source groupings form a DAG.
2424
# SOURCES: List of specific source files relative to ROOT_DIR to include.
2525
# SOURCES_GLOB: List of glob patterns relative to ROOT_DIR to include.
26+
27+
if (POLICY CMP0175)
28+
cmake_policy(SET CMP0175 OLD)
29+
endif()
30+
2631
function(declare_mlir_python_sources name)
2732
cmake_parse_arguments(ARG
2833
""

0 commit comments

Comments
 (0)