mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -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_release)
|
||||||
unset(_Freetype_location_debug)
|
unset(_Freetype_location_debug)
|
||||||
endif ()
|
endif ()
|
||||||
list(APPEND FREETYPE_LIBRARIES
|
list(INSERT FREETYPE_LIBRARIES 0
|
||||||
"${_Freetype_location}")
|
"${_Freetype_location}")
|
||||||
unset(_Freetype_location)
|
unset(_Freetype_location)
|
||||||
set(Freetype_FOUND 1)
|
set(Freetype_FOUND 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user