Ensure athena has zlib include directory available

This commit is contained in:
Jack Andersen 2019-06-12 15:29:18 -10:00
parent 727f057fa7
commit a9271862dc
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@ add_library(athena-core
include/yaml.h
include/utf8proc.h
)
target_include_directories(athena-core PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
target_include_directories(athena-core PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${ZLIB_INCLUDE_DIR}>)
target_link_libraries(athena-core PUBLIC athena-libyaml)
add_library(athena-sakura EXCLUDE_FROM_ALL