[Polly][CMake] Fix variable name in target exports
llvm-svn: 302888
This commit is contained in:
parent
f06fbd4794
commit
cda7152fcb
|
@ -116,7 +116,7 @@ foreach(tgt IN LISTS POLLY_CONFIG_EXPORTED_TARGETS)
|
|||
if (NOT tgt_type STREQUAL "INTERFACE_LIBRARY")
|
||||
set(POLLY_EXPORTS
|
||||
"set_target_properties(${tgt} PROPERTIES
|
||||
IMPORTED_LOCATION_$<UPPER_CASE:$<CONFIG>> \${CMAKE_CURRENT_LIST_DIR}/${tgt_path})
|
||||
IMPORTED_LOCATION$<$<NOT:$<CONFIG:>>:_<UPPER_CASE:$<CONFIG>> \${CMAKE_CURRENT_LIST_DIR}/${tgt_path})
|
||||
${POLLY_EXPORTS}")
|
||||
endif()
|
||||
endforeach(tgt)
|
||||
|
|
Loading…
Reference in New Issue