From: Luke Cheeseman Date: Wed, 21 Mar 2018 12:05:19 +0000 (+0000) Subject: clang-interpreter example cmake fix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e063783e0e20c312a3e641f3442d60e1481b94ad;p=clang 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 --- 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)