mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 15:32:38 +00:00
Fix freetype compilation including the correct dir for ftconfig.h for Unix-like systems
This commit is contained in:
parent
ff397fe425
commit
5864e84d47
7
third_party/CMakeLists.txt
vendored
7
third_party/CMakeLists.txt
vendored
@ -1,5 +1,5 @@
|
||||
# Aseprite
|
||||
# Copyright (C) 2021 Igara Studio S.A.
|
||||
# Copyright (C) 2021-2022 Igara Studio S.A.
|
||||
# Copyright (C) 2001-2018 David Capello
|
||||
|
||||
include_directories(.)
|
||||
@ -85,6 +85,11 @@ if(NOT USE_SHARED_FREETYPE AND NOT LAF_BACKEND STREQUAL "skia")
|
||||
|
||||
add_subdirectory(freetype2)
|
||||
|
||||
if(UNIX)
|
||||
target_include_directories(freetype BEFORE PUBLIC
|
||||
${CMAKE_CURRENT_BINARY_DIR}/freetype2/include)
|
||||
endif()
|
||||
|
||||
if(NOT USE_SHARED_LIBPNG)
|
||||
add_dependencies(freetype ${PNG_LIBRARIES})
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user