cmake elif() -> elseif()
This commit is contained in:
parent
c82d88302a
commit
d5ae3e90a8
|
@ -150,7 +150,7 @@ if (APPLE)
|
|||
set(SYSROOT_PATH "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk")
|
||||
if(EXISTS "${SYSROOT_PATH}/")
|
||||
set(TARGET_SYSROOT ${SYSROOT_PATH})
|
||||
elif (EXISTS "${SYSROOT_LEGACY_PATH}/")
|
||||
elseif(EXISTS "${SYSROOT_LEGACY_PATH}/")
|
||||
set(TARGET_SYSROOT ${SYSROOT_LEGACY_PATH})
|
||||
endif()
|
||||
if(${TARGET_SYSROOT})
|
||||
|
|
Loading…
Reference in New Issue