Skip to content

Commit

Permalink
Avoid cmake problem mixing target_link_libraries() calls
Browse files Browse the repository at this point in the history
> The plain signature for target_link_libraries has already been used with
> the target "harfbuzz".  All uses of target_link_libraries with a target
> must be either all-keyword or all-plain.
  • Loading branch information
dacap committed May 26, 2022
1 parent 8d1b000 commit 3412c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,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 ()


Expand Down

0 comments on commit 3412c32

Please sign in to comment.