Skip to content

Commit 14cfb0d

Browse files
author
Luke Cheeseman
committed
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
1 parent 212227e commit 14cfb0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/examples/clang-interpreter/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (MSVC)
3434
# Is this a CMake bug that even with export_executable_symbols, Windows
3535
# needs to explictly export the type_info vtable
3636
set_property(TARGET clang-interpreter
37-
APPEND_STRING PROPERTY LINK_FLAGS /EXPORT:??_7type_info@@6B@)
37+
APPEND_STRING PROPERTY LINK_FLAGS " /EXPORT:??_7type_info@@6B@")
3838
endif()
3939

4040
function(clang_enable_exceptions TARGET)

0 commit comments

Comments
 (0)