aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/qt5-base/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/qt5-base/portfile.cmake b/ports/qt5-base/portfile.cmake
index a57411562..c53d30e5b 100644
--- a/ports/qt5-base/portfile.cmake
+++ b/ports/qt5-base/portfile.cmake
@@ -87,6 +87,10 @@ if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore
)
elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ if (NOT EXISTS "/usr/include/GL/glu.h")
+ message(FATAL_ERROR "qt5 requires libgl1-mesa-dev and libglu1-mesa-dev, please use your distribution's package manager to install them.\nExample: \"apt-get install libgl1-mesa-dev\" and \"apt-get install libglu1-mesa-dev\"")
+ endif()
+
configure_qt(
SOURCE_PATH ${SOURCE_PATH}
PLATFORM "linux-g++"