From eef18d03bb4019ee9e33d7a1a75eb52f12b089ae Mon Sep 17 00:00:00 2001 From: Samuel Ugochukwu Date: Wed, 28 Aug 2024 12:22:57 +0100 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f8cef2..a2bdec1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)