mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
51ffe57c05
packages: music-file-organizer, tectonic, libical, libraptor2 x11-packages: gw, openttd
17 lines
546 B
Diff
17 lines
546 B
Diff
--- a/cmake/FindICU.cmake
|
|
+++ b/cmake/FindICU.cmake
|
|
@@ -42,12 +42,14 @@
|
|
# Check the libraries returned by pkg-config really exist.
|
|
unset(PC_LIBRARIES)
|
|
foreach(LIBRARY IN LISTS PC_ICU_${MOD_NAME}_LIBRARIES)
|
|
+ if (NOT ${LIBRARY} MATCHES "m")
|
|
unset(PC_LIBRARY CACHE)
|
|
find_library(PC_LIBRARY NAMES ${LIBRARY})
|
|
if(NOT PC_LIBRARY)
|
|
unset(PC_ICU_${MOD_NAME}_FOUND)
|
|
endif()
|
|
list(APPEND PC_LIBRARIES ${PC_LIBRARY})
|
|
+ endif()
|
|
endforeach()
|
|
unset(PC_LIBRARY CACHE)
|
|
|