]> granicus.if.org Git - clang/commitdiff
[cmake] Change deprecated $<CONFIG> to $<CONFIGURATION>. NFC
authorFangrui Song <maskray@google.com>
Sat, 30 Mar 2019 14:38:51 +0000 (14:38 +0000)
committerFangrui Song <maskray@google.com>
Sat, 30 Mar 2019 14:38:51 +0000 (14:38 +0000)
See rL357338 for a similar change. The informational expression
$<CONFIGURATION> has been deprecated since CMake 3.0

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357348 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/CMakeLists.txt

index 0bb0a0aea39802cefdf26e127c6b7232cca9c62c..e1e52b0e45229c3111740f694f35a8cdb94b3929 100644 (file)
@@ -18,7 +18,7 @@ function(get_ext_project_build_command out_var target)
     set(${out_var} "$(MAKE)" "${target}" PARENT_SCOPE)
   else()
     set(${out_var} ${CMAKE_COMMAND} --build . --target ${target}
-                                    --config $<CONFIGURATION> PARENT_SCOPE)
+                                    --config $<CONFIG> PARENT_SCOPE)
   endif()
 endfunction()