mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 03:16:58 +00:00
Fix include directories for pixman target
This is required to include the pixman-version.h
This commit is contained in:
parent
bf69233bc7
commit
7fb4bea265
13
third_party/pixman-cmake/CMakeLists.txt
vendored
13
third_party/pixman-cmake/CMakeLists.txt
vendored
@ -1,4 +1,5 @@
|
||||
# Copyright (C) 2014, 2016 by David Capello
|
||||
# Copyright (C) 2023 Igara Studio S.A.
|
||||
# Copyright (C) 2014-2016 David Capello
|
||||
|
||||
add_definitions(-DHAVE_CONFIG_H)
|
||||
|
||||
@ -15,11 +16,6 @@ configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../pixman/pixman/pixman-version.h.in"
|
||||
"${CMAKE_BINARY_DIR}/pixman-version.h")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../pixman/pixman
|
||||
${CMAKE_BINARY_DIR})
|
||||
|
||||
add_library(pixman
|
||||
../pixman/pixman/pixman-access-accessors.c
|
||||
../pixman/pixman/pixman-access.c
|
||||
@ -51,3 +47,8 @@ add_library(pixman
|
||||
../pixman/pixman/pixman-utils.c
|
||||
../pixman/pixman/pixman-x86.c
|
||||
../pixman/pixman/pixman.c)
|
||||
|
||||
target_include_directories(pixman PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../pixman/pixman
|
||||
${CMAKE_BINARY_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user