[cfe-commits] r147338 - in /cfe/trunk/lib: Serialization/CMakeLists.txt StaticAnalyzer/Checkers/CMakeLists.txt StaticAnalyzer/Frontend/CMakeLists.txt
Rafael Espindola
rafael.espindola at gmail.com
Wed Dec 28 20:31:59 PST 2011
Author: rafael
Date: Wed Dec 28 22:31:59 2011
New Revision: 147338
URL: http://llvm.org/viewvc/llvm-project?rev=147338&view=rev
Log:
Fix cmake build with -DBUILD_SHARED_LIBS=ON.
Modified:
cfe/trunk/lib/Serialization/CMakeLists.txt
cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt
cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt
Modified: cfe/trunk/lib/Serialization/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/CMakeLists.txt?rev=147338&r1=147337&r2=147338&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/CMakeLists.txt (original)
+++ cfe/trunk/lib/Serialization/CMakeLists.txt Wed Dec 28 22:31:59 2011
@@ -1,5 +1,4 @@
-# TODO: This must need some dependencies, but it builds fine without them.
-#set(LLVM_USED_LIBS ???)
+set(LLVM_USED_LIBS clangSema)
add_clang_library(clangSerialization
ASTCommon.h
Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt?rev=147338&r1=147337&r2=147338&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt Wed Dec 28 22:31:59 2011
@@ -3,7 +3,7 @@
SOURCE Checkers.td
TARGET ClangSACheckers)
-set(LLVM_USED_LIBS clangBasic clangAST)
+set(LLVM_USED_LIBS clangBasic clangAST clangStaticAnalyzerCore)
add_clang_library(clangStaticAnalyzerCheckers
AdjustedReturnValueChecker.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt?rev=147338&r1=147337&r2=147338&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt (original)
+++ cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt Wed Dec 28 22:31:59 2011
@@ -1,6 +1,7 @@
set(LLVM_NO_RTTI 1)
-set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)
+set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite
+ clangStaticAnalyzerCheckers)
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )
More information about the cfe-commits
mailing list