mirror of https://github.com/opencv/opencv.git
Update to cmake files for to include minimum versions, and tidy up gtk operation. Files updated: CMakeLists.txt: WITH_GTK now uses Gtk3 by default. If not found then Gtk2 is used. WITH_GTK_2_X forces Gtk2.x use cmake/OpenCVFindLibsGUI.cmake Updated selection logic to implement methodology described above. Implemented warning if Gtk3 not found (and not overridden) Implemented error if Gtk does not meet minimum required version cmake/OpenCVMinDepVersions.cmake Added minimum Gtk version of 2.18.0pull/1552/head
parent
5368f12b33
commit
69dc840583
3 changed files with 14 additions and 4 deletions
@ -1,3 +1,4 @@ |
|||||||
set(MIN_VER_CMAKE 2.8.7) |
set(MIN_VER_CMAKE 2.8.7) |
||||||
set(MIN_VER_PYTHON 2.6) |
set(MIN_VER_PYTHON 2.6) |
||||||
set(MIN_VER_ZLIB 1.2.3) |
set(MIN_VER_ZLIB 1.2.3) |
||||||
|
set(MIN_VER_GTK 2.18.0) |
||||||
|
Loading…
Reference in new issue