Unbreak non-PIC builds after r361340/D62174

llvm-svn: 361399
This commit is contained in:
David Zarzycki 2019-05-22 15:48:12 +00:00
parent 1f63d7fef9
commit be0e70dcde

View File

@ -921,7 +921,7 @@ if(WIN32 OR CYGWIN)
set(LLVM_ENABLE_PLUGINS OFF)
endif()
else()
set(LLVM_ENABLE_PLUGINS ON)
set(LLVM_ENABLE_PLUGINS ${LLVM_ENABLE_PIC})
endif()
# By default we should enable LLVM_ENABLE_IDE only for multi-configuration