[polly] r302888 - [Polly][CMake] Fix variable name in target exports
Philip Pfaffe via llvm-commits
llvm-commits at lists.llvm.org
Fri May 12 03:39:38 PDT 2017
Author: pfaffe
Date: Fri May 12 05:39:38 2017
New Revision: 302888
URL: http://llvm.org/viewvc/llvm-project?rev=302888&view=rev
Log:
[Polly][CMake] Fix variable name in target exports
Modified:
polly/trunk/cmake/CMakeLists.txt
Modified: polly/trunk/cmake/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/cmake/CMakeLists.txt?rev=302888&r1=302887&r2=302888&view=diff
==============================================================================
--- polly/trunk/cmake/CMakeLists.txt (original)
+++ polly/trunk/cmake/CMakeLists.txt Fri May 12 05:39:38 2017
@@ -116,7 +116,7 @@ foreach(tgt IN LISTS POLLY_CONFIG_EXPORT
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)
More information about the llvm-commits
mailing list