mirror of
https://github.com/panda3d/panda3d.git
synced 2026-02-09 08:39:16 -06:00
HAVE_GTK -> HAVE_GTK2
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user