diff options
Diffstat (limited to 'Modules/FindGTK.cmake')
-rw-r--r-- | Modules/FindGTK.cmake | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake index 06144af190..df6277e566 100644 --- a/Modules/FindGTK.cmake +++ b/Modules/FindGTK.cmake @@ -11,14 +11,11 @@ IF (UNIX) /usr/openwin/share/include ) - FIND_LIBRARY(GTK_LIB_PATH gtk - /usr/lib - /usr/local/lib - /usr/openwin/lib - /usr/X11R6/lib + FIND_LIBRARY(GTK_LIB_PATH gtk + PATHS /usr/lib /usr/local/lib /usr/openwin/lib /usr/X11R6/lib ) - FIND_LIBRARY(GTK_GLIB_INCLUDE_PATH glibconfig.h + FIND_PATH(GTK_GLIB_INCLUDE_PATH glibconfig.h /usr/include /usr/local/include /usr/openwin/share/include |