Skip to content

Commit

Permalink
Fix Qt plugin detection for Windows and OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed Oct 20, 2015
1 parent ae5a93f commit f28bee1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cmake/modules/DeployNeurosuite.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f28bee1

Please sign in to comment.