diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2011-11-20 15:50:38 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2011-11-20 15:50:38 +0100 |
commit | d6b2677825cbb423e2099563c16321c3e23d7899 (patch) | |
tree | fd04dbf76a9bc0fdd3f7755e65d1c175ac5c99dd /CMakeLists.txt | |
parent | 6451a495637c6e3047a5a56573cffc6e3de9a515 (diff) |
Imported Upstream version 0.3.1upstream/0.3.1
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fadea59..41e2c68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,8 @@ pkg_check_modules(INDICATOR appindicator-0.1) pkg_check_modules(XML REQUIRED libxml-2.0) pkg_check_modules(XTST REQUIRED xtst) pkg_check_modules(UNIQUE REQUIRED unique-1.0) +pkg_check_modules(BAMF REQUIRED libbamf) +pkg_check_modules(WNCK REQUIRED libwnck-1.0) pkg_check_modules(GMENU3 libgnome-menu-3.0) find_library(M_LIB m) @@ -44,6 +46,7 @@ set(CFLAGS ${GEE_CFLAGS} ${CAIRO_CFLAGS_OTHER} ${X11_CFLAGS} ${X11_CFLAGS_OTHER} -DGMENU_I_KNOW_THIS_IS_UNSTABLE + -DWNCK_I_KNOW_THIS_IS_UNSTABLE -DGETTEXT_PACKAGE="gnomepie" -s -O3 ) @@ -72,6 +75,8 @@ set(LIBS ${GMENU3_LIBRARIES} ${UNIQUE_LIBRARIES} ${X11_LIBRARIES} + ${WNCK_LIBRARIES} + ${BAMF_LIBRARIES} ${M_LIB} ) link_libraries(${LIBS}) @@ -88,6 +93,8 @@ set(LIB_PATHS ${GMENU3_LIBRARY_DIRS} ${UNIQUE_LIBRARY_DIRS} ${X11_LIBRARY_DIRS} + ${WNCK_LIBRARY_DIRS} + ${BAMF_LIBRARY_DIRS} ) link_directories(${LIB_PATHS}) @@ -103,6 +110,8 @@ set(INCLUDE_PATHS ${GMENU3_INCLUDE_DIRS} ${UNIQUE_INCLUDE_DIRS} ${X11_INCLUDE_DIRS} + ${BAMF_INCLUDE_DIRS} + ${WNCK_INCLUDE_DIRS} ) include_directories(${INCLUDE_PATHS}) @@ -123,6 +132,8 @@ set(VALA_PKGS libxml-2.0 xtst unique-1.0 + bamf + libwnck-1.0 ) if (${INDICATOR_FOUND}) @@ -168,4 +179,6 @@ message( " GMENU_LIBRARIES = ${GMENU_LIBRARIES}" ) message( " GMENU3_LIBRARIES = ${GMENU3_LIBRARIES}" ) message( " UNIQUE_LIBRARIES = ${UNIQUE_LIBRARIES}" ) message( " X11_LIBRARIES = ${X11_LIBRARIES}" ) +message( " BAMF_LIBRARIES = ${BAMF_LIBRARIES}" ) +message( " WNCK_LIBRARIES = ${WNCK_LIBRARIES}" ) message( "" ) |