shithub: cstory

Download patch

ref: 808a437ec271e3a8e07723ed5cbcbd3731f1cca0
parent: da5d7982c6e040a68f22ff5d36e775ca209385a3
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Jul 13 16:22:04 EDT 2020

Fix dependency on libbrotlidec.dll

FreeType must have added a new dependency in 2.10.2

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -583,6 +583,7 @@
 		set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB ON CACHE INTERNAL "" FORCE)
 		set(CMAKE_DISABLE_FIND_PACKAGE_PNG ON CACHE INTERNAL "" FORCE)
 		set(CMAKE_DISABLE_FIND_PACKAGE_BZip2 ON CACHE INTERNAL "" FORCE)
+		set(CMAKE_DISABLE_FIND_PACKAGE_BrotliDec ON CACHE INTERNAL "" FORCE)
 	endif()
 	add_subdirectory("external/freetype" EXCLUDE_FROM_ALL)
 	target_link_libraries(CSE2 PRIVATE freetype)