summaryrefslogtreecommitdiff
path: root/vendor/icu.cmake
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 /vendor/icu.cmake
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 'vendor/icu.cmake')
-rw-r--r--vendor/icu.cmake31
1 files changed, 16 insertions, 15 deletions
diff --git a/vendor/icu.cmake b/vendor/icu.cmake
index c3a05fe44b..0ae1593e5e 100644
--- a/vendor/icu.cmake
+++ b/vendor/icu.cmake
@@ -2,7 +2,8 @@ if(TARGET mbgl-vendor-icu)
return()
endif()
-add_library(mbgl-vendor-icu STATIC
+add_library(
+ mbgl-vendor-icu STATIC
${CMAKE_CURRENT_LIST_DIR}/icu/src/cmemory.cpp
${CMAKE_CURRENT_LIST_DIR}/icu/src/cstring.cpp
${CMAKE_CURRENT_LIST_DIR}/icu/src/ubidi.cpp
@@ -20,23 +21,23 @@ add_library(mbgl-vendor-icu STATIC
${CMAKE_CURRENT_LIST_DIR}/icu/src/utypes.cpp
)
-target_compile_definitions(mbgl-vendor-icu PRIVATE
- UCONFIG_NO_BREAK_ITERATION=1
- UCONFIG_NO_LEGACY_CONVERSION=1
- U_CHARSET_IS_UTF8=1
- U_CHAR_TYPE=uint_least16_t
- U_HAVE_ATOMIC=1
- U_HAVE_STRTOD_L=0
- _REENTRANT
+target_compile_definitions(
+ mbgl-vendor-icu
+ PRIVATE
+ UCONFIG_NO_BREAK_ITERATION=1
+ UCONFIG_NO_LEGACY_CONVERSION=1
+ U_CHARSET_IS_UTF8=1
+ U_CHAR_TYPE=uint_least16_t
+ U_HAVE_ATOMIC=1
+ U_HAVE_STRTOD_L=0
+ _REENTRANT
)
-target_compile_options(mbgl-vendor-icu PRIVATE
- -Wno-error
- -Wno-shorten-64-to-32
-)
+target_compile_options(mbgl-vendor-icu PRIVATE -Wno-error -Wno-shorten-64-to-32)
-target_include_directories(mbgl-vendor-icu SYSTEM PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/icu/include
+target_include_directories(
+ mbgl-vendor-icu SYSTEM
+ PUBLIC ${CMAKE_CURRENT_LIST_DIR}/icu/include
)
set_property(TARGET mbgl-vendor-icu PROPERTY FOLDER Core)