From 5a175c16c393476498c18745727e34371e98bd63 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 11 Jan 2011 16:09:39 +0000 Subject: [PATCH] Fix the cmake version check for gtk. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6816 8ced0084-cf51-0410-be5f-012b33b47a6e --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0b9a1f824..9ed4251e15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()