Commit 1a7e19eb7a86582938d6609645ec99e2c4ab22ea

Authored by Josh Klontz
1 parent 24433cd5

this plugin may not exist

share/openbr/cmake/InstallDependencies.cmake
... ... @@ -125,9 +125,12 @@ function(install_qt_platforms)
125 125  
126 126 install(FILES ${_qt5Core_install_prefix}${QT_MULTIARCH}/plugins/platforms/libqlinuxfb.so
127 127 DESTINATION bin/platforms)
128   - install_qt_library(XcbQpa)
129   - install(FILES ${_qt5Core_install_prefix}${QT_MULTIARCH}/plugins/platforms/libqxcb.so
130   - DESTINATION bin/platforms)
  128 +
  129 + if(EXISTS ${_qt5Core_install_prefix}${QT_MULTIARCH}/plugins/platforms/libqxcb.so)
  130 + install_qt_library(XcbQpa)
  131 + install(FILES ${_qt5Core_install_prefix}${QT_MULTIARCH}/plugins/platforms/libqxcb.so
  132 + DESTINATION bin/platforms)
  133 + endif()
131 134 endif()
132 135 endif()
133 136 endfunction()
... ...