Skip to content

Added target_include_directories when building shared libs to target …#50

Merged
davidbrochart merged 1 commit intoxtensor-stack:masterfrom
dengeland:gdal-headers-not-found
Sep 23, 2021
Merged

Added target_include_directories when building shared libs to target …#50
davidbrochart merged 1 commit intoxtensor-stack:masterfrom
dengeland:gdal-headers-not-found

Conversation

@dengeland
Copy link
Copy Markdown
Contributor

When trying to build xtensor-zarr on Ubuntu 20.04 I run into problem because some of the gdal headers where not found. I installed gdal via sudo apt, so everything was in place and cmake find_package worked well.

Investigating a little bit more, I found, that there might be a missing target_include_directories, see the diff.

@davidbrochart davidbrochart merged commit 482c41f into xtensor-stack:master Sep 23, 2021
@davidbrochart
Copy link
Copy Markdown
Member

Thanks @dengeland !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants