diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-15 15:38:43 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-15 15:38:43 (GMT) |
commit | 53cc54918011a426649cc7b095a564850dc408e5 (patch) | |
tree | 6d0a582be0beacacc18f2a53bb5c90b7cc4fc088 /Source/WXDialog | |
parent | fe9714e2f0feebc21e485676fcb779b610e59451 (diff) | |
download | CMake-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.cmake | 6 |
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) |