This reverts commit r361340. The following builder has been broken for
the past few days because of this commit:
http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/
Also revert r361399, which was committed to fix r361340.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361685
91177308-0d34-0410-b5e6-
96231b3b80d8
# Plugin support
# FIXME: Make this configurable.
-if(WIN32 OR CYGWIN)
- if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
- set(LLVM_ENABLE_PLUGINS ON)
- else()
- set(LLVM_ENABLE_PLUGINS OFF)
- endif()
+if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
+ set(LLVM_ENABLE_PLUGINS ON)
else()
- set(LLVM_ENABLE_PLUGINS ${LLVM_ENABLE_PIC})
+ set(LLVM_ENABLE_PLUGINS OFF)
endif()
# By default we should enable LLVM_ENABLE_IDE only for multi-configuration