From 23b588fb64bf52ef3ee28fcbf3f3113fd2145ec1 Mon Sep 17 00:00:00 2001 From: Luiz Scheinkman Date: Thu, 13 Jul 2017 14:20:44 -0700 Subject: [PATCH] Install apr1 headers and swig interfaces --- src/CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index da62f305ae..b9e59066cc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -834,6 +834,9 @@ if ((NOT NUPIC_BUILD_PYEXT_MODULES) OR NUPIC_TOGGLE_INSTALL) MESSAGE_NEVER FILES_MATCHING PATTERN "*.h*" PATTERN "*.hpp.in" EXCLUDE) + install(DIRECTORY nupic DESTINATION include + MESSAGE_NEVER + FILES_MATCHING PATTERN "*.i") install(DIRECTORY nupic DESTINATION include MESSAGE_NEVER FILES_MATCHING PATTERN "*.capnp") @@ -885,7 +888,14 @@ if ((NOT NUPIC_BUILD_PYEXT_MODULES) OR NUPIC_TOGGLE_INSTALL) install(PROGRAMS "${SWIG_EXECUTABLE}" DESTINATION bin) -endif (NOT NUPIC_BUILD_PYEXT_MODULES) + install(DIRECTORY "${APR1_STATIC_LIB_INC_DIR}/" + MESSAGE_NEVER + DESTINATION include) + install(DIRECTORY "${APRUTIL1_STATIC_LIB_INC_DIR}/" + MESSAGE_NEVER + DESTINATION include) + +endif ((NOT NUPIC_BUILD_PYEXT_MODULES) OR NUPIC_TOGGLE_INSTALL) # # `make package` results in