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:
parent
bc6c4809d1
commit
724e4682a7
|
@ -47,6 +47,7 @@ IF(NOT NO_GTK)
|
||||||
# These dependencies require pkg-config to be found
|
# These dependencies require pkg-config to be found
|
||||||
PKG_CHECK_MODULES ( GTKMM gtkmm-2.4 )
|
PKG_CHECK_MODULES ( GTKMM gtkmm-2.4 )
|
||||||
PKG_CHECK_MODULES ( GLIBMM glibmm-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 ( GLADEMM libglademm-2.4 )
|
||||||
PKG_CHECK_MODULES ( XV xv )
|
PKG_CHECK_MODULES ( XV xv )
|
||||||
PKG_CHECK_MODULES ( GTKGLMM gtkglextmm-x11-1.2 )
|
PKG_CHECK_MODULES ( GTKGLMM gtkglextmm-x11-1.2 )
|
||||||
|
@ -240,12 +241,16 @@ INCLUDE_DIRECTORIES(
|
||||||
|
|
||||||
IF( CAN_BUILD_GVBAM )
|
IF( CAN_BUILD_GVBAM )
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
|
${GLIBMM_INCLUDE_DIRS}
|
||||||
|
${GIOMM_INCLUDE_DIRS}
|
||||||
${GTKMM_INCLUDE_DIRS}
|
${GTKMM_INCLUDE_DIRS}
|
||||||
${GTKGLMM_INCLUDE_DIRS}
|
${GTKGLMM_INCLUDE_DIRS}
|
||||||
${GLADEMM_INCLUDE_DIRS}
|
${GLADEMM_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
LINK_DIRECTORIES(
|
LINK_DIRECTORIES(
|
||||||
|
${GLIBMM_LIBRARY_DIRS}
|
||||||
|
${GIOMM_LIBRARY_DIRS}
|
||||||
${GTKMM_LIBRARY_DIRS}
|
${GTKMM_LIBRARY_DIRS}
|
||||||
${GTKGLMM_LIBRARY_DIRS}
|
${GTKGLMM_LIBRARY_DIRS}
|
||||||
${GLADEMM_LIBRARY_DIRS}
|
${GLADEMM_LIBRARY_DIRS}
|
||||||
|
|
Loading…
Reference in New Issue