Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMake] Fix order of GNUInstallDirs module (#15966)
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 <[email protected]>
- Loading branch information