aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-09-19 14:13:58 +0200
committerThomas White <taw@physics.org>2018-09-19 14:13:58 +0200
commit772fbf0507501d8930d88da475af3c281e5da044 (patch)
tree5eb759465e61eac1afca23a8d20368f414852e87 /CMakeLists.txt
parent3fac406b8977728501e0b5caca35c5feaa5cb1e7 (diff)
Make GLib dependency optional
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fb478c4e..75e8b2c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ find_package(TIFF)
find_package(OpenCL)
find_package(PkgConfig)
-pkg_check_modules (GLIB REQUIRED glib-2.0)
+pkg_check_modules (GLIB glib-2.0)
include_directories (${GLIB_INCLUDE_DIRS})
link_directories (${GLIB_LIBRARY_DIRS})