From 724e4682a7cef1fa61fb324d8386514e6187d3d0 Mon Sep 17 00:00:00 2001 From: bgk Date: Tue, 4 Nov 2008 14:48:25 +0000 Subject: [PATCH] CMake : Fixing build for Ubuntu 8.10 (and probably others newer distributions) git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@798 a31d4220-a93d-0410-bf67-fe4944624d44 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9b777cc..1b15d8ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,7 @@ IF(NOT NO_GTK) # These dependencies require pkg-config to be found PKG_CHECK_MODULES ( GTKMM gtkmm-2.4 ) PKG_CHECK_MODULES ( GLIBMM glibmm-2.4 ) + PKG_CHECK_MODULES ( GIOMM giomm-2.4 ) PKG_CHECK_MODULES ( GLADEMM libglademm-2.4 ) PKG_CHECK_MODULES ( XV xv ) PKG_CHECK_MODULES ( GTKGLMM gtkglextmm-x11-1.2 ) @@ -240,12 +241,16 @@ INCLUDE_DIRECTORIES( IF( CAN_BUILD_GVBAM ) INCLUDE_DIRECTORIES( + ${GLIBMM_INCLUDE_DIRS} + ${GIOMM_INCLUDE_DIRS} ${GTKMM_INCLUDE_DIRS} ${GTKGLMM_INCLUDE_DIRS} ${GLADEMM_INCLUDE_DIRS} ) LINK_DIRECTORIES( + ${GLIBMM_LIBRARY_DIRS} + ${GIOMM_LIBRARY_DIRS} ${GTKMM_LIBRARY_DIRS} ${GTKGLMM_LIBRARY_DIRS} ${GLADEMM_LIBRARY_DIRS}