diff options
Diffstat (limited to 'build_files/cmake/platform/platform_unix.cmake')
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index 593f3b7043c..5778699ee49 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -103,7 +103,9 @@ find_package_wrapper(Zstd REQUIRED) # FreeType compiled with Brotli compression for woff2. find_package_wrapper(Freetype REQUIRED) -find_package_wrapper(Brotli REQUIRED) +if(EXISTS ${LIBDIR}) + find_package_wrapper(Brotli REQUIRED) +endif() if(WITH_PYTHON) # No way to set py35, remove for now. |