Skip to content

Commit

Permalink
CMake: Use FindFontconfig added in 3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Oct 27, 2024
1 parent 6afbe0f commit a85ac51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 71 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ endif()
if (UNIX AND NOT EMSCRIPTEN)
if(NOT APPLE AND NOT ANDROID)
find_package(Fontconfig REQUIRED)
target_include_directories(jngl PUBLIC ${FONTCONFIG_INCLUDE_DIR})
target_link_libraries(jngl PRIVATE ${FONTCONFIG_LIBRARIES})
target_link_libraries(jngl PRIVATE Fontconfig::Fontconfig)
endif()
endif()

Expand Down
69 changes: 0 additions & 69 deletions cmake/FindFontconfig.cmake

This file was deleted.

0 comments on commit a85ac51

Please sign in to comment.