From: NAKAMURA Takumi Date: Tue, 4 Feb 2014 12:26:40 +0000 (+0000) Subject: [CMake] add_clang_library(): Honor STATIC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb52a574ed687223737b8e4747fd2ec30047f45f;p=clang [CMake] add_clang_library(): Honor STATIC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200759 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8028904a4c..8e93505b6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()