r200759 - [CMake] add_clang_library(): Honor STATIC.
NAKAMURA Takumi
geek4civic at gmail.com
Tue Feb 4 04:26:40 PST 2014
Author: chapuni
Date: Tue Feb 4 06:26:40 2014
New Revision: 200759
URL: http://llvm.org/viewvc/llvm-project?rev=200759&view=rev
Log:
[CMake] add_clang_library(): Honor STATIC.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=200759&r1=200758&r2=200759&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Feb 4 06:26:40 2014
@@ -304,6 +304,8 @@ macro(add_clang_library name)
set(libkind MODULE)
elseif (ARG_SHARED)
set(libkind SHARED)
+ elseif(ARG_STATIC)
+ set(libkind STATIC)
else()
set(libkind)
endif()
More information about the cfe-commits
mailing list