File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
compiler-rt/cmake/Modules Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function(get_ext_project_build_command out_var target)
1818 set (${out_var} "$(MAKE)" "${target} " PARENT_SCOPE)
1919 else ()
2020 set (${out_var} ${CMAKE_COMMAND} --build . --target ${target}
21- --config $<CONFIGURATION > PARENT_SCOPE)
21+ --config $<CONFIG > PARENT_SCOPE)
2222 endif ()
2323endfunction ()
2424
Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ macro(add_custom_libcxx name prefix)
615615 set (run_clean "$(MAKE)" "-C" "${BINARY_DIR} " "clean" )
616616 else ()
617617 set (run_clean ${CMAKE_COMMAND} --build ${BINARY_DIR} --target clean
618- --config "$<CONFIGURATION >" )
618+ --config "$<CONFIG >" )
619619 endif ()
620620
621621 ExternalProject_Add_Step(${name} clean
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ if(CMAKE_CROSSCOMPILING AND NOT LLVM_CONFIG_PATH)
7878 set (LLVM_CONFIG_PATH "${LLVM_NATIVE_BUILD} /bin/llvm-config" CACHE STRING "" )
7979
8080 add_custom_command (OUTPUT "${LLVM_CONFIG_PATH} "
81- COMMAND ${CMAKE_COMMAND} --build . --target llvm-config --config $<CONFIGURATION >
81+ COMMAND ${CMAKE_COMMAND} --build . --target llvm-config --config $<CONFIG >
8282 DEPENDS ${LLVM_NATIVE_BUILD} /CMakeCache.txt
8383 WORKING_DIRECTORY ${LLVM_NATIVE_BUILD}
8484 COMMENT "Building native llvm-config..."
You can’t perform that action at this time.
0 commit comments