ENH: fix for older versions of cmake
This commit is contained in:
parent
fe9714e2f0
commit
53cc549180
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue