diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2019-06-17 14:35:20 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2019-06-17 14:35:20 +0300 |
commit | 0f6a5475d01aa9ba8b485be092197efdd925e799 (patch) | |
tree | 3cc6f535ca7a4feda7d263a0993f98fb204dd86b /CMakeLists.txt | |
parent | 975b617d5013b6a3072080cd092d0698970ee586 (diff) |
Www enhance2
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 980ea6941..790126d77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ # files in the program, then also delete it here. -cmake_minimum_required(VERSION 2.8.2) +cmake_minimum_required(VERSION 3.0.0) set(CMAKE_COLOR_MAKEFILE ON) @@ -354,10 +354,12 @@ if(AVAHI_FOUND) endif() if(GTK_FOUND) - add_subdirectory(src) - add_subdirectory(data) - add_subdirectory(plugins) - add_subdirectory(plugins/secret) + pkg_check_modules(gio REQUIRED gio-2.0) + pkg_check_modules(gio-unix REQUIRED gio-unix-2.0) + add_subdirectory(src) + add_subdirectory(data) + add_subdirectory(plugins) + add_subdirectory(plugins/secret) endif() if(WITH_TRANSLATIONS) |