summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-09-27 15:05:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-09-27 15:05:13 +0200
commit16fe2e5d0525422ba6ca5db9e92a93d17caae302 (patch)
treed6f1a9ed22335f6d0b457ccdd560b7525fb38d14 /CMakeLists.txt
parent10af7615316fd91eef61cc66a8ede38a2bff3fdc (diff)
Imported Upstream version 0.6.6upstream/0.6.6
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2db7e9d..1f69ad3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,6 @@ ensure_vala_version("0.22.0" MINIMUM)
find_package(PkgConfig)
-# check whether GTK3 is supported
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
pkg_check_modules(INDICATOR3 appindicator3-0.1)
pkg_check_modules(WNCK REQUIRED libwnck-3.0)
@@ -40,6 +39,7 @@ pkg_check_modules(GMENU3 libgnome-menu-3.0)
find_library(M_LIB m)
find_library(GTHREAD_LIB gthread-2.0)
+find_library(ARCHIVE_LIB archive)
set(CFLAGS
${GIO_CFLAGS}
@@ -84,7 +84,8 @@ set(LIBS
${GMENU3_LIBRARIES}
${X11_LIBRARIES}
${WNCK_LIBRARIES}
- ${BAMF_LIBRARIES}
+ ${BAMF_LIBRARIES}
+ ${ARCHIVE_LIB}
${M_LIB}
${GTHREAD_LIB}
)
@@ -103,7 +104,7 @@ set(LIB_PATHS
${GMENU3_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
${WNCK_LIBRARY_DIRS}
- ${BAMF_LIBRARY_DIRS}
+ ${BAMF_LIBRARY_DIRS}
)
link_directories(${LIB_PATHS})
@@ -120,7 +121,7 @@ set(INCLUDE_PATHS
${GMENU3_INCLUDE_DIRS}
${X11_INCLUDE_DIRS}
${BAMF_INCLUDE_DIRS}
- ${WNCK_INCLUDE_DIRS}
+ ${WNCK_INCLUDE_DIRS}
)
include_directories(${INCLUDE_PATHS})
@@ -142,6 +143,7 @@ set(VALA_PKGS
posix
libxml-2.0
xtst
+ libarchive
)
if (${INDICATOR_FOUND})
@@ -193,4 +195,5 @@ 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( "" )