Skip to content

Commit

Permalink
Merge pull request #81 from wolfv/exclude_netlib_cmake_from_xflens
Browse files Browse the repository at this point in the history
exclude netlib (archives) and flens CMake files from installation
  • Loading branch information
SylvainCorlay committed Aug 11, 2018
2 parents f2e9109 + 3000114 commit ab1354d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ install(FILES ${XTENSOR_BLAS_HEADERS}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/xtensor-blas)

install(DIRECTORY ${INCLUDE_DIR}/xflens
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
PATTERN netlib EXCLUDE
PATTERN CMakeLists.txt EXCLUDE)

set(XTENSOR_BLAS_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" CACHE
STRING "install path for xtensor-blasConfig.cmake")
Expand Down

0 comments on commit ab1354d

Please sign in to comment.