Fix the cmake version check for gtk.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6816 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-01-11 16:09:39 +00:00
parent 299f163d38
commit 5a175c16c3
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ if(NOT DISABLE_WX)
# does not find gdk-pixbuf-2.0. On the other hand some 2.8.3
# users have complained that pkg-config does not find
# gdk-pixbuf-2.0
if(${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}.${CMAKE_VERSION_PATCH}
if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}
VERSION_EQUAL 2.8.2)
check_lib(GTK2 gtk+-2.0 gtk.h REQUIRED)
else()