From 7e78af10a0d31569928e2c88d003452cb662a579 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 19 Jun 2018 11:33:27 +0200 Subject: Make pkg-config optional It won't find Cairo, GDK, gdk-pixbuf nor FFTW without it, but for now that seems better than a mess of different search methods. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index cb08e2d5..dfd1afa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ find_package(GSL REQUIRED) find_package(GTK2 2.0.0 COMPONENTS gtk) find_package(TIFF) find_package(OpenCL) -find_package(PkgConfig REQUIRED) +find_package(PkgConfig) pkg_search_module(CAIRO cairo) pkg_search_module(GDK gdk-2.0) pkg_search_module(GDKPIXBUF gdk-pixbuf-2.0) -- cgit v1.2.3