FindFreeType: insert Freetype's location to the start This should help static builds satisfy dependencies by listing transitive libraries after freetype's.
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake index cd18f2c..b3af7bc 100644 --- a/Modules/FindFreetype.cmake +++ b/Modules/FindFreetype.cmake
@@ -140,7 +140,7 @@ unset(_Freetype_location_release) unset(_Freetype_location_debug) endif () - list(APPEND FREETYPE_LIBRARIES + list(INSERT FREETYPE_LIBRARIES 0 "${_Freetype_location}") unset(_Freetype_location) set(Freetype_FOUND 1)