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
This commit is contained in:
bgk 2008-11-04 14:48:25 +00:00
parent bc6c4809d1
commit 724e4682a7
1 changed files with 5 additions and 0 deletions

View File

@ -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}