Skip to content

Commit

Permalink
[Polly][CMake] Fix variable name in target exports
Browse files Browse the repository at this point in the history
llvm-svn: 302888
  • Loading branch information
pfaffe committed May 12, 2017
1 parent f06fbd4 commit cda7152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polly/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cda7152

Please sign in to comment.