Fix target_link_libraries signatures mixing

This commit is contained in:
Not-a-Bug Won't Fix 2022-07-07 15:42:51 +03:00 committed by Behdad Esfahbod
parent a64fc71033
commit aec34e17eb
1 changed files with 1 additions and 1 deletions

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 ()