Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage authored Aug 28, 2024
1 parent 8a0d802 commit eef18d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(plutosvg PUBLIC PLUTOSVG_BUILD_STATIC)
endif()

option(PLUTOSVG_ENABLE_FREETYPE "Enables freetype integration" OFF)
option(PLUTOSVG_ENABLE_FREETYPE "Enable Freetype integration" OFF)
if(PLUTOSVG_ENABLE_FREETYPE)
find_package(Freetype 2.12 REQUIRED)
target_compile_definitions(plutosvg PUBLIC PLUTOSVG_HAS_FREETYPE)
target_include_directories(plutosvg PUBLIC ${FREETYPE_INCLUDE_DIRS})
target_link_libraries(plutosvg PRIVATE ${FREETYPE_LIBRARY})
target_link_libraries(plutosvg PRIVATE ${FREETYPE_LIBRARIES})
endif()

include(GNUInstallDirs)
Expand Down

0 comments on commit eef18d0

Please sign in to comment.