blob: 3b24e18448212f7c59f339a838faf4ee076f43f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
IF (NOT __XCODE_RESOURCE_NAME)
MESSAGE(FATAL_ERROR "Unspecified __XCODE_RESOURCE_NAME variable")
ENDIF()
IF (NOT __XCODE_TOOLCHAIN_VERSION)
MESSAGE(FATAL_ERROR "Unspecified Xcode toolchain version for" $XCODE_RESOURCE_NAME)
ELSEIF (__XCODE_TOOLCHAIN_VERSION == "10.2.1")
DECLARE_EXTERNAL_RESOURCE(${__XCODE_RESOURCE_NAME} sbr:971159365)
ELSEIF (__XCODE_TOOLCHAIN_VERSION == "9.2")
DECLARE_EXTERNAL_RESOURCE(${__XCODE_RESOURCE_NAME} sbr:498971125)
ELSEIF (__XCODE_TOOLCHAIN_VERSION == "8.3.3")
DECLARE_EXTERNAL_RESOURCE(${__XCODE_RESOURCE_NAME} sbr:701155000)
ELSEIF (__XCODE_TOOLCHAIN_VERSION == "8.2.1")
DECLARE_EXTERNAL_RESOURCE(${__XCODE_RESOURCE_NAME} sbr:500014407)
ELSE()
MESSAGE(FATAL_ERROR "Unsupported Xcode toolchain version" $__XCODE_TOOLCHAIN_VERSION "for" $XCODE_RESOURCE_NAME)
ENDIF()
|