Skip to content

Commit ff85274

Browse files
committed
[cmake] Remove use of deprecated generator expression. NFC
Use $<CONFIG> instead of $<CONFIGURATION>, since the latter has been deprecated since CMake 3.0, and the former is entirely equivalent. llvm-svn: 357338
1 parent 7e7aad1 commit ff85274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/modules/LLVMExternalProjectUtils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include(ExternalProject)
55
function(llvm_ExternalProject_BuildCmd out_var target bin_dir)
66
cmake_parse_arguments(ARG "" "CONFIGURATION" "" ${ARGN})
77
if(NOT ARG_CONFIGURATION)
8-
set(ARG_CONFIGURATION "$<CONFIGURATION>")
8+
set(ARG_CONFIGURATION "$<CONFIG>")
99
endif()
1010
if (CMAKE_GENERATOR MATCHES "Make")
1111
# Use special command for Makefiles to support parallelism.

0 commit comments

Comments
 (0)