From 14cfb0de5d8252d6f7951117b1fdd1d9f4d86ffe Mon Sep 17 00:00:00 2001 From: Luke Cheeseman Date: Wed, 21 Mar 2018 12:05:19 +0000 Subject: [PATCH] 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. llvm-svn: 328092 --- clang/examples/clang-interpreter/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/examples/clang-interpreter/CMakeLists.txt b/clang/examples/clang-interpreter/CMakeLists.txt index c5ab076..0d13280 100644 --- a/clang/examples/clang-interpreter/CMakeLists.txt +++ b/clang/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) -- 2.7.4