Skip to content

Commit 3c6a720

Browse files
committed
* 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. git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1925988 13f79535-47bb-0310-9956-ffa450edef68
1 parent b9547e4 commit 3c6a720

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build/FindBrotli.cmake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,12 @@ function(_get_brotli_version)
3939
OUTPUT_VARIABLE output
4040
RESULT_VARIABLE failed)
4141
if(failed)
42-
message(STATUS "failed: ${brotli} --version")
43-
set(BROTLI_VERSION "unknown" PARENT_SCOPE)
42+
message(STATUS "Failed: ${brotli} --version")
4443
else()
4544
string(REPLACE "brotli" "" output "${output}")
4645
string(STRIP "${output}" output)
4746
set(BROTLI_VERSION "${output}" PARENT_SCOPE)
4847
endif()
49-
else()
50-
set(BROTLI_VERSION "unknown" PARENT_SCOPE)
5148
endif()
5249
endfunction(_get_brotli_version)
5350

0 commit comments

Comments
 (0)