FindFreeType: insert Freetype's location to the start

This should help static builds satisfy dependencies by listing
transitive libraries after freetype's.
This commit is contained in:
Ben Boeckel committed 2023-10-28 14:59:07 -04:00
1 parent 1cfc708eea
commit 2cf2d4f7df
1 file changed
+1 -1
+1 -1
View File
@@ -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)