summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-07 17:55:12 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-07 20:12:44 +0200
commit021e48f35e4812803ecaadb1ed262c83354b767e (patch)
tree586c61e9f5ad7c1b214adb027ba0dfc928c43484 /platform
parent47f2b20435cc524e2e300ad4881e198079c536bf (diff)
downloadqtlocation-mapboxgl-021e48f35e4812803ecaadb1ed262c83354b767e.tar.gz
[build] Run cmake-format on all the CMake files
Unify and enforce a CMake coding style.
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/ios.cmake3
-rw-r--r--platform/macos/macos.cmake3
2 files changed, 4 insertions, 2 deletions
diff --git a/platform/ios/ios.cmake b/platform/ios/ios.cmake
index ce64d3e729..aa22a376f8 100644
--- a/platform/ios/ios.cmake
+++ b/platform/ios/ios.cmake
@@ -104,7 +104,8 @@ if(MBGL_IOS_RENDER_TEST)
execute_process(COMMAND ${PREPARE_CMD} RESULT_VARIABLE CMD_ERROR WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
message(STATUS "CMD_ERROR:" ${CMD_ERROR})
- set(RESOURCES ${PROJECT_SOURCE_DIR}/render-test/ios/Main.storyboard ${PROJECT_SOURCE_DIR}/render-test/ios/LaunchScreen.storyboard ${PROJECT_SOURCE_DIR}/test-data)
+ set(RESOURCES ${PROJECT_SOURCE_DIR}/render-test/ios/Main.storyboard ${PROJECT_SOURCE_DIR}/render-test/ios/LaunchScreen.storyboard
+ ${PROJECT_SOURCE_DIR}/test-data)
add_executable(
RenderTestApp
diff --git a/platform/macos/macos.cmake b/platform/macos/macos.cmake
index ddf74bdc59..da89a67fff 100644
--- a/platform/macos/macos.cmake
+++ b/platform/macos/macos.cmake
@@ -137,7 +137,8 @@ target_include_directories(
target_include_directories(
mbgl-core
- PRIVATE ${PROJECT_SOURCE_DIR}/platform/darwin/include ${PROJECT_SOURCE_DIR}/platform/darwin/src ${PROJECT_SOURCE_DIR}/platform/macos/src
+ PRIVATE
+ ${PROJECT_SOURCE_DIR}/platform/darwin/include ${PROJECT_SOURCE_DIR}/platform/darwin/src ${PROJECT_SOURCE_DIR}/platform/macos/src
)
include(${PROJECT_SOURCE_DIR}/vendor/icu.cmake)