diff options
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) |