Unbreak my hasty "unbreak" cmake fix
authorDavid Zarzycki <dave@znu.io>
Tue, 4 Jun 2019 11:33:49 +0000 (11:33 +0000)
committerDavid Zarzycki <dave@znu.io>
Tue, 4 Jun 2019 11:33:49 +0000 (11:33 +0000)
llvm-svn: 362492

llvm/CMakeLists.txt

index de499a7..71434bc 100644 (file)
@@ -629,7 +629,7 @@ if(WIN32 OR CYGWIN)
     set(LLVM_ENABLE_PLUGINS_default OFF)
   endif()
 else()
-  set(LLVM_ENABLE_PLUGINS_default LLVM_ENABLE_PIC)
+  set(LLVM_ENABLE_PLUGINS_default ${LLVM_ENABLE_PIC})
 endif()
 option(LLVM_ENABLE_PLUGINS "Enable plugin support" ${LLVM_ENABLE_PLUGINS_default})