summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-09-22 19:16:47 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-09-22 19:16:47 +0200
commit45a3d7f0e2783d9898f017772583d31c1c9e0f03 (patch)
treea0b24517d375d6572741975f9ee787cb1596574b /CMakeLists.txt
parent4b19e75939c5b7122d1429f6f258d4b83cd90dde (diff)
New upstream version 0.7.0upstream/0.7.0
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 1 insertions, 15 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2696ab..c5e5fa5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,6 @@ pkg_check_modules(X11 REQUIRED x11)
pkg_check_modules(XML REQUIRED libxml-2.0)
pkg_check_modules(XTST REQUIRED xtst)
pkg_check_modules(GMENU3 libgnome-menu-3.0)
-pkg_check_modules(BAMF libbamf3)
find_library(M_LIB m)
find_library(GTHREAD_LIB gthread-2.0)
@@ -54,11 +53,6 @@ set(CFLAGS
# -g
)
-# use bamf if available for better icon handling
-if (${BAMF_FOUND})
- LIST(APPEND CFLAGS -DHAVE_BAMF)
-endif (${BAMF_FOUND})
-
# fallback to gnome-menus2 if gnome-menus3 wasn't found
if (${GMENU3_FOUND})
LIST(APPEND CFLAGS -DHAVE_GMENU_3)
@@ -89,7 +83,6 @@ set(LIBS
${GMENU3_LIBRARIES}
${X11_LIBRARIES}
${WNCK_LIBRARIES}
- ${BAMF_LIBRARIES}
${ARCHIVE_LIB}
${M_LIB}
${GTHREAD_LIB}
@@ -109,7 +102,6 @@ set(LIB_PATHS
${GMENU3_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
${WNCK_LIBRARY_DIRS}
- ${BAMF_LIBRARY_DIRS}
)
link_directories(${LIB_PATHS})
@@ -125,8 +117,7 @@ set(INCLUDE_PATHS
${GMENU_INCLUDE_DIRS}
${GMENU3_INCLUDE_DIRS}
${X11_INCLUDE_DIRS}
- ${BAMF_INCLUDE_DIRS}
- ${WNCK_INCLUDE_DIRS}
+ ${WNCK_INCLUDE_DIRS}
)
include_directories(${INCLUDE_PATHS})
@@ -150,10 +141,6 @@ set(VALA_PKGS
libarchive
)
-if (${BAMF_FOUND})
- LIST(APPEND VALA_PKGS libbamf3)
-endif (${BAMF_FOUND})
-
if (${INDICATOR_FOUND})
LIST(APPEND VALA_PKGS appindicator-0.1)
endif (${INDICATOR_FOUND})
@@ -201,7 +188,6 @@ message( " XTST_LIBRARIES = ${XTST_LIBRARIES}" )
message( " GMENU_LIBRARIES = ${GMENU_LIBRARIES}" )
message( " GMENU3_LIBRARIES = ${GMENU3_LIBRARIES}" )
message( " X11_LIBRARIES = ${X11_LIBRARIES}" )
-message( " BAMF_LIBRARIES = ${BAMF_LIBRARIES}" )
message( " WNCK_LIBRARIES = ${WNCK_LIBRARIES}" )
message( " ARCHIVE_LIBRARIES = ${ARCHIVE_LIB}" )
message( "" )