]> granicus.if.org Git - clang/commitdiff
CMake: libclang shall be named libclang.so, not liblibclang.so.
authorOscar Fuentes <ofv@wanadoo.es>
Sat, 5 Feb 2011 20:00:13 +0000 (20:00 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Sat, 5 Feb 2011 20:00:13 +0000 (20:00 +0000)
It is not possible to simply change that target name to `clang'
because we already have one.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124972 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CMakeLists.txt

index d1d99726cce1020fafe5805167d6864a59642a53..e90162131718631494d70ba8a094601f431dd5c8 100644 (file)
@@ -60,5 +60,6 @@ endif(MSVC)
 
 set_target_properties(libclang
   PROPERTIES
+  PREFIX ""  # Otherwise we get liblibclang.so
   LINKER_LANGUAGE CXX
   DEFINE_SYMBOL _CINDEX_LIB_)