--- a/ConfigureChecks.cmake	2024-03-24 21:40:09.165729665 +0300
+++ b/ConfigureChecks.cmake	2024-03-24 21:41:43.299725728 +0300
@@ -59,6 +59,7 @@
     tde_execute_process(
         COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=CXXFLAGS icu-uc
         OUTPUT_VARIABLE ICU_CXXFLAGS
+        OUTPUT_STRIP_TRAILING_WHITESPACE
     )
 
 
