[Polly][CMake] Fix variable name in target exports

llvm-svn: 302888
This commit is contained in:
Philip Pfaffe 2017-05-12 10:39:38 +00:00
parent f06fbd4794
commit cda7152fcb
1 changed files with 1 additions and 1 deletions

View File

@ -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)