cmake: Fix an error in the declaration of target include directories

Properly declare target include directories for generated includes.
Previously the non targeted `include_directories()` was used, which
had issue when using the `png_static` target in a submodule.

Signed-off-by: Cosmin Truta <ctruta@gmail.com>
This commit is contained in:
Green Sky
2024-04-17 12:32:45 +02:00
committed by Cosmin Truta
parent 843dbb7579
commit 8cc22a8c15
2 changed files with 7 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ Author List
* Dan Rosser
* David Callu
* Eric Riff
* Erik Scholz
* Gianfranco Costamagna
* Gleb Mazovetskiy
* Glenn Randers-Pehrson