Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Treelite_BINARY_DIR include to
cuml++
build interface include p…
…aths (#4018) This PR fixes an issue causing cuML source builds to fail when CPM adds Treelite. Treelite's generated include path isn't in their `INTERFACE_INCLUDE_DIRECTORIES`, so this path isn't added to the `cuml++` target's include dirs either. The fix is to add Treelite's generated include path to the `cuml++` target. ```shell In file included from _deps/cuml-src/cpp/src/decisiontree/decisiontree_impl.cuh:20, from _deps/cuml-src/cpp/src/decisiontree/decisiontree.cu:22: _deps/treelite-src/include/treelite/tree.h:11:10: fatal error: treelite/version.h: No such file or directory 11 | #include <treelite/version.h> ``` Authors: - Paul Taylor (https://github.com/trxcllnt) Approvers: - Dante Gama Dessavre (https://github.com/dantegd) URL: #4018
- Loading branch information