Skip to content

Commit

Permalink
CMake: Fixed GTK2 detection
Browse files Browse the repository at this point in the history
  • Loading branch information
kratz00 committed Jan 1, 2016
1 parent 2b63066 commit 07eab2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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")
Expand Down

0 comments on commit 07eab2f

Please sign in to comment.