Browse Source

[cmake] fix brotli::* on freebsd

Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2742/head
lizzie 5 months ago
parent
commit
0b77356d2c
No known key found for this signature in database GPG Key ID: 287378CADCAB13
  1. 4
      CMakeModules/Findhttplib.cmake

4
CMakeModules/Findhttplib.cmake

@ -4,7 +4,11 @@
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
# 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) 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()

Loading…
Cancel
Save