Fix target_link_libraries signatures mixing

This commit is contained in:
Not-a-Bug Won't Fix authored and Behdad Esfahbod committed 2022-07-07 13:35:50 -06:00
1 parent a64fc71033
commit aec34e17eb
1 file changed
+1 -1
+1 -1
View File
@@ -434,7 +434,7 @@ target_include_directories(harfbuzz PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/harfbuzz>")
if (HB_HAVE_FREETYPE AND TARGET freetype)
target_link_libraries(harfbuzz PUBLIC freetype)
target_link_libraries(harfbuzz freetype)
endif ()