diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-09-27 15:07:18 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-09-27 15:07:18 +0200 |
commit | e5da485f77b3b8cd3bc32c13e4497a64a2ad10c3 (patch) | |
tree | b7351c6674108ea5746d70fdc2ff6c59bdc84595 /CMakeLists.txt | |
parent | bbabe0f4e471dd984a1c01353c44d4eb1f336473 (diff) | |
parent | 16fe2e5d0525422ba6ca5db9e92a93d17caae302 (diff) |
Merge new upstream release
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
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( "" ) |