Fix LIBCLANG_LINK_FLAGS for Darwin.

The previous syntax created a list with the usual semicolon as
separator, which breaks the link command.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2011-03-14 14:32:16 +00:00
Родитель 2e2468e2d2
Коммит 6656457a0a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -38,8 +38,8 @@ if( LLVM_ENABLE_PIC )
DEFINE_SYMBOL _CINDEX_LIB_)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(LIBCLANG_LINK_FLAGS "-Wl,-compatibility_version -Wl,1"
" -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
set(LIBCLANG_LINK_FLAGS
"-Wl,-compatibility_version -Wl,1 -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
set_target_properties(libclang
PROPERTIES
LINK_FLAGS "${LIBCLANG_LINK_FLAGS}"