See rL357338 for a similar change. The informational expression
$<CONFIGURATION> has been deprecated since CMake 3.0
llvm-svn: 357348
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()
set(run_clean "$(MAKE)" "-C" "${BINARY_DIR}" "clean")
else()
set(run_clean ${CMAKE_COMMAND} --build ${BINARY_DIR} --target clean
- --config "$<CONFIGURATION>")
+ --config "$<CONFIG>")
endif()
ExternalProject_Add_Step(${name} clean
set(LLVM_CONFIG_PATH "${LLVM_NATIVE_BUILD}/bin/llvm-config" CACHE STRING "")
add_custom_command(OUTPUT "${LLVM_CONFIG_PATH}"
- COMMAND ${CMAKE_COMMAND} --build . --target llvm-config --config $<CONFIGURATION>
+ COMMAND ${CMAKE_COMMAND} --build . --target llvm-config --config $<CONFIG>
DEPENDS ${LLVM_NATIVE_BUILD}/CMakeCache.txt
WORKING_DIRECTORY ${LLVM_NATIVE_BUILD}
COMMENT "Building native llvm-config..."