We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CMP0053
1 parent 6facbaa commit a18cc4cCopy full SHA for a18cc4c
amd/device-libs/cmake/OCL.cmake
@@ -9,7 +9,10 @@
9
# command-lines, but the only way to do this as part of the dependency graph is
10
# configure_file and we are included from multiple places. To get around this
11
# we `file(WRITE)` a file with an @variable reference and `configure_file` it.
12
-cmake_policy(SET CMP0053 OLD)
+# FIXME: CMP0053 is removed in CMake 4; refine code relying on this policy.
13
+if(${CMAKE_VERSION} VERSION_LESS "4.0.0")
14
+ cmake_policy(SET CMP0053 OLD)
15
+endif()
16
17
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.20.0")
18
# The policy change was for handling of relative paths for
0 commit comments