diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index 1ec16e8b901..3d7e2a4ef4e 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -671,7 +671,7 @@ endif() # Plugin support # FIXME: Make this configurable. -if(WIN32 OR CYGWIN) +if(CYGWIN) if(BUILD_SHARED_LIBS) set(LLVM_ENABLE_PLUGINS ON) else()