projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f06fbd4
)
[Polly][CMake] Fix variable name in target exports
author
Philip Pfaffe
<philip.pfaffe@gmail.com>
Fri, 12 May 2017 10:39:38 +0000
(10:39 +0000)
committer
Philip Pfaffe
<philip.pfaffe@gmail.com>
Fri, 12 May 2017 10:39:38 +0000
(10:39 +0000)
llvm-svn: 302888
polly/cmake/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/polly/cmake/CMakeLists.txt
b/polly/cmake/CMakeLists.txt
index
c0c9725
..
62693f3
100644
(file)
--- a/
polly/cmake/CMakeLists.txt
+++ b/
polly/cmake/CMakeLists.txt
@@
-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)