Author: brane
Date: Fri May 30 14:57:46 2025
New Revision: 1925988

URL: http://svn.apache.org/viewvc?rev=1925988&view=rev
Log:
* build/FindBrotli.cmake: Belay that r1925984: if we can't find the brotli 
binary,
   just don't set BROTLI_VERSION, it's not the end of the world. But I'd like to
   know which genius decided to not include the version number in the public 
headers.

Modified:
    serf/trunk/build/FindBrotli.cmake

Modified: serf/trunk/build/FindBrotli.cmake
URL: 
http://svn.apache.org/viewvc/serf/trunk/build/FindBrotli.cmake?rev=1925988&r1=1925987&r2=1925988&view=diff
==============================================================================
--- serf/trunk/build/FindBrotli.cmake (original)
+++ serf/trunk/build/FindBrotli.cmake Fri May 30 14:57:46 2025
@@ -39,15 +39,12 @@ function(_get_brotli_version)
                     OUTPUT_VARIABLE output
                     RESULT_VARIABLE failed)
    if(failed)
-     message(STATUS "failed: ${brotli} --version")
-     set(BROTLI_VERSION "unknown" PARENT_SCOPE)
+     message(STATUS "Failed: ${brotli} --version")
    else()
      string(REPLACE "brotli" "" output "${output}")
      string(STRIP "${output}" output)
      set(BROTLI_VERSION "${output}" PARENT_SCOPE)
    endif()
- else()
-   set(BROTLI_VERSION "unknown" PARENT_SCOPE)
  endif()
 endfunction(_get_brotli_version)
 


Reply via email to