Skip to content

Commit 5c9b702

Browse files
committed
[builtins] fix freetype variable case
1 parent 1b94342 commit 5c9b702

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

builtins/freetype/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ endif()
7676

7777
# Set the canonical output of find_package according to
7878
# https://cmake.org/cmake/help/latest/manual/cmake-developer.7.html#standard-variable-names
79-
set(FREETYPE_INCLUDE_DIRS ${incdir} PARENT_SCOPE)
80-
set(FREETYPE_LIBRARIES ${FREETYPE_LIBRARY} PARENT_SCOPE)
79+
set(Freetype_INCLUDE_DIRS ${incdir} PARENT_SCOPE)
80+
set(Freetype_LIBRARIES ${FREETYPE_LIBRARY} PARENT_SCOPE)
8181
set(Freetype_FOUND TRUE PARENT_SCOPE)
8282
set(Freetype_VERSION ${FREETYPE_VERSION} PARENT_SCOPE)

graf2d/asimage/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ ROOT_STANDARD_LIBRARY_PACKAGE(ASImage
2626
-writeEmptyRootPCM
2727
LIBRARIES
2828
libAfterImage
29-
${ASEXTRA_LIBRARIES}
30-
${FREETYPE_LIBRARIES}
31-
${X11_LIBRARIES}
29+
JPEG::JPEG
30+
PNG::PNG
31+
GIF::GIF
32+
libAfterImage
33+
Freetype::Freetype
3234
ZLIB::ZLIB
3335
DEPENDENCIES
3436
Core
3537
Graf
3638
Postscript
3739
)
3840

39-
target_link_libraries(ASImage PRIVATE JPEG::JPEG PNG::PNG GIF::GIF libAfterImage Freetype::Freetype)
4041
if (x11)
4142
target_link_libraries(ASImage PRIVATE X11::X11)
4243
endif()

0 commit comments

Comments
 (0)