Skip to content

Conversation

@syalavarthi
Copy link
Contributor

In CMakeLists.txt, the variables CMAKE_INSTALL_

are referenced before the execution of GNUInstallDirs module. This order is incorrect as the variables are defined by the GNUInstallDirs module.

Since the variables are undefined, INTERFACE_INCLUDE_DIRECTORIES property is not set in the tvmTargets.cmake. This causes external applications based on TVM unable to find TVM runtime headers.

In CMakeLists.txt, the variables CMAKE_INSTALL_<dir> are
referenced before the execution of GNUInstallDirs module.
This order is incorrect as the variables are defined by
the GNUInstallDirs module.

Since the variables are undefined, INTERFACE_INCLUDE_DIRECTORIES
property is not set in the tvmTargets.cmake. This causes external
applications based on TVM unable to find TVM runtime headers.

Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
Copy link
Contributor

@cbalint13 cbalint13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @syalavarthi !

@Hzfengsy Hzfengsy merged commit 3c4ee86 into apache:main Oct 25, 2023
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.

4 participants