resolve merge conflicts of 8afe1d6 to nyc-dev-plus-aosp am: 0d151184d5 am: f47f5ecf0b
[platform/upstream/VK-GL-CTS.git] / targets / ios / ios.cmake
1 #-------------------------------------------------------------------------
2 # drawElements CMake utilities
3 # ----------------------------
4 #
5 # Copyright 2016 The Android Open Source Project
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #      http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #
19 #-------------------------------------------------------------------------
20 # iOS Target
21
22 set(DEQP_TARGET_NAME    "iOS")
23
24 # Libraries
25 find_library(GLES2_LIBRARY                      NAMES   OpenGLES                PATHS /System/Library/Frameworks)
26 find_library(FOUNDATION_LIBRARY         NAMES   Foundation              PATHS /System/Library/Frameworks)
27 find_library(UIKIT_LIBRARY                      NAMES   UIKit                   PATHS /System/Library/Frameworks)
28 find_library(COREGRAPHICS_LIBRARY       NAMES   CoreGraphics    PATHS /System/Library/Frameworks)
29 find_library(QUARTZCORE_LIBRARY         NAMES   QuartzCore              PATHS /System/Library/Frameworks)
30
31 set(DEQP_GLES2_LIBRARIES                ${GLES2_LIBRARY})
32 set(DEQP_GLES3_LIBRARIES                ${GLES2_LIBRARY})
33 set(DEQP_PLATFORM_LIBRARIES             ${FOUNDATION_LIBRARY} ${UIKIT_LIBRARY} ${COREGRAPHICS_LIBRARY} ${QUARTZCORE_LIBRARY})
34
35 # Execserver is compiled in
36 include_directories(execserver)