From 3968296ff1a918133e3a8476e179d77094be9658 Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner Date: Fri, 7 Dec 2018 14:11:38 +0100 Subject: [PATCH] Add documentation as to where public headers will be installed --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index eafd23df7de6..7c29e1e17c2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -729,6 +729,10 @@ install(TARGETS ${MXNET_INSTALL_TARGETS} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +# NOTE: Public headers will be installed into ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}, see +# https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html +# https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html + install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(DIRECTORY 3rdparty/tvm/nnvm/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) if (INSTALL_EXAMPLES)