From 07eab2f39fe0828813c12223deb085a9fb74fa38 Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Fri, 1 Jan 2016 19:50:19 +0100 Subject: [PATCH] CMake: Fixed GTK2 detection --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 489451c..9bf18a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -497,7 +497,7 @@ ENDIF(MACOSX) IF(UNIX) IF(NOT BEOS) IF(NOT MACOSX) -FIND_PACKAGE(GTK2 gtk) +FIND_PACKAGE(GTK2 COMPONENTS 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")