mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user