summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-03-14 20:44:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-03-14 20:44:20 (GMT)
commit858056bbc3211f8f55fde9ea3c0eb3699a16680c (patch)
treede1a0a7c58003361d2ac3e6c3e1f88127473ddc1
parent4b45a5ef9adf0b1d8a5bb0241c8a75a46bc4a854 (diff)
downloadCMake-858056bbc3211f8f55fde9ea3c0eb3699a16680c.zip
CMake-858056bbc3211f8f55fde9ea3c0eb3699a16680c.tar.gz
CMake-858056bbc3211f8f55fde9ea3c0eb3699a16680c.tar.bz2
BUG: bad if statement order
-rw-r--r--Modules/FindGTK.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake
index 802fd24..9d4fe1a 100644
--- a/Modules/FindGTK.cmake
+++ b/Modules/FindGTK.cmake
@@ -7,7 +7,7 @@
# GTK_FOUND - If false, don't try to use GTK
# don't even bother under WIN32
-IF (UNIX)
+IF(UNIX)
FIND_PATH( GTK_gtk_INCLUDE_PATH gtk/gtk.h
/usr/include
@@ -141,8 +141,8 @@ IF (UNIX)
ENDIF(GTK_glib_LIBRARY)
ENDIF(GTK_gtk_LIBRARY)
+ ENDIF(GTK_glib_INCLUDE_PATH)
ENDIF(GTK_glibconfig_INCLUDE_PATH)
- ENDIF(GTK_glib_INCLUDE_PATH)
ENDIF(GTK_gtk_INCLUDE_PATH)
MARK_AS_ADVANCED(
@@ -153,5 +153,5 @@ IF (UNIX)
GTK_gtk_INCLUDE_PATH
)
-ENDIF (UNIX)
+ENDIF(UNIX)