File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ function(tablegen project ofn)
2222 endif ()
2323
2424 # Use depfile instead of globbing arbitrary *.td(s) for Ninja.
25- cmake_policy (GET CMP0116 CMP0116_STATE )
26- if (CMAKE_GENERATOR MATCHES "Ninja" AND CMP0116_STATE STREQUAL NEW)
25+ cmake_policy (GET CMP0116 cmp0116_state )
26+ if (CMAKE_GENERATOR MATCHES "Ninja" AND cmp0116_state STREQUAL NEW)
2727 # CMake emits build targets as relative paths but Ninja doesn't identify
2828 # absolute path (in *.d) as relative path (in build.ninja). Post CMP0116,
2929 # CMake handles this discrepancy for us, otherwise we use the fallback
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ function(_pdll_tablegen project ofn)
4343 endif ()
4444
4545 # Use depfile instead of globbing arbitrary *.td(s) for Ninja.
46- cmake_policy (GET CMP0116 CMP0116_STATE )
47- if (CMAKE_GENERATOR MATCHES "Ninja" AND CMP0116_STATE STREQUAL NEW)
46+ cmake_policy (GET CMP0116 cmp0116_state )
47+ if (CMAKE_GENERATOR MATCHES "Ninja" AND cmp0116_state STREQUAL NEW)
4848 # CMake emits build targets as relative paths but Ninja doesn't identify
4949 # absolute path (in *.d) as relative path (in build.ninja). Post CMP0116,
5050 # CMake handles this discrepancy for us. Otherwise, we use the fallback
You can’t perform that action at this time.
0 commit comments