Skip to content

Commit

Permalink
CMake: GTK+ isn't required, don't fail if it's missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 15, 2015
1 parent 5a0cc3a commit 7e7a8ab
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 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")
Expand Down

0 comments on commit 7e7a8ab

Please sign in to comment.