Changeset 271257 in webkit
- Timestamp:
- Jan 7, 2021, 12:56:28 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
Source/WTF/CMakeLists.txt (modified) (1 diff)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/cmake/OptionsCommon.cmake (modified) (1 diff)
-
Source/cmake/WebKitFindPackage.cmake (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r271222 r271257 1 2021-01-07 Monson Shao <holymonson@gmail.com> 2 3 [CMake] Add USE_APPLE_ICU option 4 https://bugs.webkit.org/show_bug.cgi?id=220081 5 6 Reviewed by Yusuke Suzuki. 7 8 Add USE_APPLE_ICU option to allow non-Mac ports (GTK or JSCOnly) on Darwin could build with 9 non-Apple ICU. 10 11 * Source/cmake/OptionsCommon.cmake: 12 * Source/cmake/WebKitFindPackage.cmake: 13 1 14 2021-01-06 Alexey Proskuryakov <ap@apple.com> 2 15 -
trunk/Source/WTF/CMakeLists.txt
r246874 r271257 7 7 # Apple builds have the ICU headers checked into ${WTF_DIR}/icu 8 8 # Copy them into ${ICU_INCLUDE_DIRS} so the build behaves like find_package was used 9 if ( APPLE)9 if (USE_APPLE_ICU) 10 10 file(COPY ${WTF_DIR}/icu/unicode DESTINATION ${ICU_INCLUDE_DIRS}) 11 11 endif () -
trunk/Source/WTF/ChangeLog
r271231 r271257 1 2021-01-07 Monson Shao <holymonson@gmail.com> 2 3 [CMake] Add USE_APPLE_ICU option 4 https://bugs.webkit.org/show_bug.cgi?id=220081 5 6 Reviewed by Yusuke Suzuki. 7 8 Add USE_APPLE_ICU option to allow non-Mac ports (GTK or JSCOnly) on Darwin could build with 9 non-Apple ICU. 10 11 * CMakeLists.txt: 12 1 13 2021-01-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/cmake/OptionsCommon.cmake
r269076 r271257 101 101 ${GCC_OFFLINEASM_SOURCE_MAP_DEFAULT}) 102 102 103 option(USE_APPLE_ICU "Use Apple's internal ICU" ${APPLE}) 104 103 105 # Enable the usage of OpenMP. 104 106 # - At this moment, OpenMP is only used as an alternative implementation -
trunk/Source/cmake/WebKitFindPackage.cmake
r269410 r271257 7 7 # 8 8 # The purpose of this file is to make the behavior of find_package consistent 9 # across ports and CMake versions. 9 # across ports and CMake versions. 10 10 11 11 # CMake provided targets. Remove wrappers whenever the minimum version is bumped. … … 87 87 88 88 # Apple builds have a unique location for ICU 89 if ( APPLEAND "${package}" STREQUAL "ICU")89 if (USE_APPLE_ICU AND "${package}" STREQUAL "ICU") 90 90 set(_found_package ON) 91 91 … … 99 99 set(ICU_LIBRARIES ${ICU_UC_LIBRARY}) 100 100 set(ICU_FOUND ON) 101 message(STATUS "Found ICU: ${ICU_LIBRARIES}") 101 102 endif () 102 103
Note:
See TracChangeset
for help on using the changeset viewer.