Commit 53cc5491 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: fix for older versions of cmake

parent fe9714e2
...@@ -390,12 +390,12 @@ ELSE( WIN32 ) ...@@ -390,12 +390,12 @@ ELSE( WIN32 )
SET(LAST_FRAME 1) SET(LAST_FRAME 1)
ELSE(${arg} MATCHES "-framework") ELSE(${arg} MATCHES "-framework")
# not a -framework argument # not a -framework argument
IF(${LAST_FRAME} EQUAL 1) IF(LAST_FRAME)
SET(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} "-framework ${arg}") SET(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} "-framework ${arg}")
SET(LAST_FRAME 0) SET(LAST_FRAME 0)
ELSE(${LAST_FRAME} EQUAL 1) ELSE(LAST_FRAME)
SET(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${arg}) SET(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${arg})
ENDIF(${LAST_FRAME} EQUAL 1) ENDIF(LAST_FRAME)
ENDIF(${arg} MATCHES "-framework") ENDIF(${arg} MATCHES "-framework")
ENDFOREACH(arg) ENDFOREACH(arg)
ENDIF(CMAKE_WX_CONFIG) ENDIF(CMAKE_WX_CONFIG)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment