summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLuke Cheeseman <luke.cheeseman@arm.com>2018-03-21 12:05:19 +0000
committerLuke Cheeseman <luke.cheeseman@arm.com>2018-03-21 12:05:19 +0000
commite063783e0e20c312a3e641f3442d60e1481b94ad (patch)
tree329ef26ea7440969dc422b2990da44eebca08e78 /examples
parentf8d8ed2b2be733294ea171898706a4c0072bad90 (diff)
downloadclang-e063783e0e20c312a3e641f3442d60e1481b94ad.tar.gz
clang-interpreter example cmake fix
Add in a space when appending the export to the linker options. Without the space the export is appended onto whatever the last link option was, which might be a file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/clang-interpreter/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt
index c5ab076fc1..0d132807c4 100644
--- a/examples/clang-interpreter/CMakeLists.txt
+++ b/examples/clang-interpreter/CMakeLists.txt
@@ -34,7 +34,7 @@ if (MSVC)
# Is this a CMake bug that even with export_executable_symbols, Windows
# needs to explictly export the type_info vtable
set_property(TARGET clang-interpreter
- APPEND_STRING PROPERTY LINK_FLAGS /EXPORT:??_7type_info@@6B@)
+ APPEND_STRING PROPERTY LINK_FLAGS " /EXPORT:??_7type_info@@6B@")
endif()
function(clang_enable_exceptions TARGET)