From 7e7a8ab71923dfffc31caf13031853882e3ab215 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 15 Jul 2015 18:44:04 -0400 Subject: [PATCH] CMake: GTK+ isn't required, don't fail if it's missing. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93f5bd4..489451c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -497,7 +497,7 @@ ENDIF(MACOSX) IF(UNIX) IF(NOT BEOS) IF(NOT MACOSX) -FIND_PACKAGE(GTK2 REQUIRED gtk) +FIND_PACKAGE(GTK2 gtk) # In order to reduce the GTK2 library dependencies at link time, we only link against 'gtk-x11-2.0'. # This is more portable, as the dynamic linker/loader will take care of the other library dependencies at run time. SET(LIBGTK_LINK_FLAGS "-lgtk-x11-2.0")