From f28bee1898497c5c5b55c941c2aa11f8bc005a6c Mon Sep 17 00:00:00 2001 From: Florian Franzen Date: Tue, 20 Oct 2015 20:22:02 +0200 Subject: [PATCH] Fix Qt plugin detection for Windows and OS X --- cmake/modules/DeployNeurosuite.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmake/modules/DeployNeurosuite.cmake b/cmake/modules/DeployNeurosuite.cmake index 3457dcb..f170b5a 100644 --- a/cmake/modules/DeployNeurosuite.cmake +++ b/cmake/modules/DeployNeurosuite.cmake @@ -38,8 +38,13 @@ function(install_neurosuite_dependencies _EXECUTABLE) endif() # Determine plugins - if(APPLE AND WITH_QT4) - list(APPEND PLUGINS qcocoa) + if(NOT WITH_QT4) + if(APPLE) + list(APPEND PLUGINS qcocoa) + endif() + if(WIN32) + list(APPEND PLUGINS qwindows) + endif() endif() # Use DeployQt4/5 to install qt and other libraries