summaryrefslogtreecommitdiffstats
path: root/Source/WXDialog
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-15 15:38:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-15 15:38:43 (GMT)
commit53cc54918011a426649cc7b095a564850dc408e5 (patch)
tree6d0a582be0beacacc18f2a53bb5c90b7cc4fc088 /Source/WXDialog
parentfe9714e2f0feebc21e485676fcb779b610e59451 (diff)
downloadCMake-53cc54918011a426649cc7b095a564850dc408e5.zip
CMake-53cc54918011a426649cc7b095a564850dc408e5.tar.gz
CMake-53cc54918011a426649cc7b095a564850dc408e5.tar.bz2
ENH: fix for older versions of cmake
Diffstat (limited to 'Source/WXDialog')
-rw-r--r--Source/WXDialog/bin/FindwxWin.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WXDialog/bin/FindwxWin.cmake b/Source/WXDialog/bin/FindwxWin.cmake
index fe1a27f..699e7e1 100644
--- a/Source/WXDialog/bin/FindwxWin.cmake
+++ b/Source/WXDialog/bin/FindwxWin.cmake
@@ -390,12 +390,12 @@ ELSE( WIN32 )
SET(LAST_FRAME 1)
ELSE(${arg} MATCHES "-framework")
# not a -framework argument
- IF(${LAST_FRAME} EQUAL 1)
+ IF(LAST_FRAME)
SET(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} "-framework ${arg}")
SET(LAST_FRAME 0)
- ELSE(${LAST_FRAME} EQUAL 1)
+ ELSE(LAST_FRAME)
SET(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${arg})
- ENDIF(${LAST_FRAME} EQUAL 1)
+ ENDIF(LAST_FRAME)
ENDIF(${arg} MATCHES "-framework")
ENDFOREACH(arg)
ENDIF(CMAKE_WX_CONFIG)