mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03: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:
1 parent
1cfc708eea
commit
2cf2d4f7df
1 file changed
+1
-1
@@ -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