Library Targets Include Directories Broken
Open
bug
cmake
low priority
- Dominant language
- C++
- Stars
- 7.5k
- Forks
- 1.1k
- Avg merge
- 47m
- Merged PRs (30d)
- 1
Description
Hi folks, when using the draco library as a subproject, or with CMake's FetchContent machinery, the draco includes are broken. This stems from the definition of the draco_add_library macro. It is not able to find the headers and generated file(draco/draco_features.h header).
I have done the work around like below:-
target_include_directories(draco_static
PUBLIC
$
$
$
)
But this way we are exposing the entire draco source code to consumer. Does anyone know better solution for this?
Contributor guide
Assessment
This issue has not been assessed yet.