From 9698115ea9021f1b67d040665bb70f215ea76d35 Mon Sep 17 00:00:00 2001 From: zmiao Date: Tue, 21 Jan 2020 15:29:04 +0200 Subject: remove ios specific cmake option --- circle.yml | 2 +- next/CMakeLists.txt | 1 - next/platform/ios/ios.cmake | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index f4860b82ac..67276ed312 100644 --- a/circle.yml +++ b/circle.yml @@ -710,7 +710,7 @@ jobs: name: Build IOS RenderTestApp command: | cd render-test/ios - cmake ../../next -B Build -G Xcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DIOS_RENDER_TESTING=ON + cmake ../../next -B Build -G Xcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DMBGL_IOS_RENDER_TEST=ON cd Build xcodebuild -sdk iphoneos -project Mapbox\ GL\ Native.xcodeproj -scheme RenderTestApp build-for-testing -arch arm64 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -configuration Release xcodebuild -sdk iphoneos -project Mapbox\ GL\ Native.xcodeproj build -target RenderTestAppTests -arch arm64 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -configuration Release diff --git a/next/CMakeLists.txt b/next/CMakeLists.txt index 0427a26cf0..1950a1144a 100644 --- a/next/CMakeLists.txt +++ b/next/CMakeLists.txt @@ -22,7 +22,6 @@ option(MBGL_WITH_CORE_ONLY "Build only the core bits, no platform code" OFF) option(MBGL_WITH_COVERAGE "Enable code coverage collection" OFF) option(MBGL_WITH_QT "Build Mapbox GL Qt bindings" OFF) option(MBGL_WITH_SANITIZER "Use [address|thread|undefined] here" OFF) -option(IOS_RENDER_TESTING "Enable ios render test runner" OFF) add_library( mbgl-compiler-options INTERFACE diff --git a/next/platform/ios/ios.cmake b/next/platform/ios/ios.cmake index dac4586df9..9f50f6a529 100644 --- a/next/platform/ios/ios.cmake +++ b/next/platform/ios/ios.cmake @@ -93,7 +93,7 @@ target_link_libraries( z ) -if(IOS_RENDER_TESTING) +if(MBGL_IOS_RENDER_TEST) set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64") set(PREPARE_CMD "${MBGL_ROOT}/render-test/ios/setup_test_data.sh") -- cgit v1.2.1