Browse Source
[cmake] fix brotli::* on freebsd
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2742/head
lizzie
5 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
1 changed files with
5 additions and
1 deletions
-
CMakeModules/Findhttplib.cmake
|
|
@ -4,7 +4,11 @@ |
|
|
|
|
|
|
|
|
include(FindPackageHandleStandardArgs) |
|
|
include(FindPackageHandleStandardArgs) |
|
|
|
|
|
|
|
|
find_package(httplib QUIET CONFIG) |
|
|
|
|
|
|
|
|
# FreeBSD has errors with Brotli::*, same with Solaris (when httplib of |
|
|
|
|
|
# system is installed) |
|
|
|
|
|
if (WIN32 OR ANDROID OR APPLE OR LINUX) |
|
|
|
|
|
find_package(httplib QUIET CONFIG) |
|
|
|
|
|
endif() |
|
|
if (httplib_CONSIDERED_CONFIGS) |
|
|
if (httplib_CONSIDERED_CONFIGS) |
|
|
find_package_handle_standard_args(httplib HANDLE_COMPONENTS CONFIG_MODE) |
|
|
find_package_handle_standard_args(httplib HANDLE_COMPONENTS CONFIG_MODE) |
|
|
else() |
|
|
else() |
|
|
|