Change default GTK version for CMake from 2 to 3

This commit is contained in:
Paul Cornett 2020-04-19 23:08:09 -07:00 committed by paulcor
parent e70b449084
commit 6d25b49f95
2 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,8 @@ matrix:
name: wxGTK 2 clang Ubuntu 14.04
- dist: trusty
compiler: gcc
env: wxTOOLSET=cmake wxCMAKE_GENERATOR="Unix Makefiles"
name: wxGTK CMake Ubuntu 14.04
env: wxTOOLSET=cmake wxCMAKE_GENERATOR="Unix Makefiles" wxCMAKE_DEFINES="-DWXGTK2=1"
name: wxGTK 2 CMake Ubuntu 14.04
- os: osx
osx_image: xcode6.4
compiler: clang

View File

@ -27,7 +27,7 @@ elseif(APPLE)
set(wxTOOLKIT_OPTIONS osx_cocoa gtk2 gtk3 gtk4 qt)
set(wxPLATFORM OSX)
elseif(UNIX)
set(wxDEFAULT_TOOLKIT gtk2)
set(wxDEFAULT_TOOLKIT gtk3)
set(wxTOOLKIT_OPTIONS gtk2 gtk3 gtk4 motif qt)
set(wxPLATFORM UNIX)
else()