From 2cf2d4f7df60196cbea6834c744a670db511c8d5 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 27 Oct 2023 22:24:36 -0400 Subject: FindFreeType: insert Freetype's location to the start This should help static builds satisfy dependencies by listing transitive libraries after freetype's. --- Modules/FindFreetype.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ if (freetype_FOUND) 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) -- cgit v0.12