HAVE_GTK -> HAVE_GTK2

This commit is contained in:
rdb
2014-02-02 12:31:06 +01:00
parent 6e86570b9a
commit 710568fb28
2 changed files with 3 additions and 4 deletions

View File

@@ -307,7 +307,7 @@ else()
message("- Did not find SpeedTree")
endif()
if(HAVE_GTK)
if(HAVE_GTK2)
message("+ gtk+-2")
else()
message("- Did not find gtk+-2")

View File

@@ -23,9 +23,8 @@ package_option(FREETYPE)
set(Freetype_FIND_QUIETLY TRUE) # Fix for builtin FindGTK2
set(GTK2_GTK_FIND_QUIETLY TRUE) # Fix for builtin FindGTK2
find_package(GTK2 QUIET COMPONENTS gtk)
set(GTK_FOUND ${GTK2_FOUND}) # Mangle for convenience
#config_package(GTK "gtk+-2")
package_option(GTK)
#config_package(GTK2 "gtk+-2")
package_option(GTK2)
# Find and configure WxWidgets
find_package(wxWidgets QUIET)