mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
049486f9e8
- Specify major Qt version number to squash some CMake warnings about Qt5 - Use OPTIONS_RADIO for GUI support - build only allows use of one toolkit - Make OpenGL support optional (off by default since it only works with GUI support) - Allow OpenGL support with GTK2 Reported by: Wolfgang Riegler <wolfgang.riegler@gmx.de> [1]
15 lines
504 B
CMake
15 lines
504 B
CMake
--- ./cmake/OpenCVFindLibsGUI.cmake.orig 2013-12-10 09:20:59.000000000 -0500
|
|
+++ ./cmake/OpenCVFindLibsGUI.cmake 2013-12-10 09:22:40.000000000 -0500
|
|
@@ -56,10 +56,9 @@
|
|
if(OPENGL_FOUND)
|
|
set(HAVE_OPENGL TRUE)
|
|
list(APPEND OPENCV_LINKER_LIBS ${OPENGL_LIBRARIES})
|
|
+ ocv_include_directories(${OPENGL_INCLUDE_DIR})
|
|
if(QT_QTOPENGL_FOUND)
|
|
set(HAVE_QT_OPENGL TRUE)
|
|
- else()
|
|
- ocv_include_directories(${OPENGL_INCLUDE_DIR})
|
|
endif()
|
|
endif()
|
|
endif()
|