Skip to content

Commit

Permalink
Add dmlc-core to the list of installed header directories. (apache#4035)
Browse files Browse the repository at this point in the history
There are dependencies on dmlc-core in TVM public API headers
(e.g. some headers include dmlc/logging.h) so it needs to be installed
as part of TVM for TVM headers to be actually usable.
  • Loading branch information
ndl authored and wweic committed Sep 30, 2019
1 parent 0148904 commit 06a63ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,11 @@ if (INSTALL_DEV)
FILES_MATCHING
PATTERN "*.h"
)
install(
DIRECTORY "3rdparty/dmlc-core/include/." DESTINATION "include"
FILES_MATCHING
PATTERN "*.h"
)
install(
DIRECTORY "nnvm/include/." DESTINATION "include"
FILES_MATCHING
Expand Down

0 comments on commit 06a63ed

Please sign in to comment.