From 83f5e570f8d2804191c7609f884e4e190693e99f Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Tue, 20 Sep 2016 16:02:05 +0200 Subject: [PATCH] [eigen] Cleaned the include folder --- ports/eigen/portfile.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ports/eigen/portfile.cmake b/ports/eigen/portfile.cmake index 3d17253f53..2a2f9a0816 100644 --- a/ports/eigen/portfile.cmake +++ b/ports/eigen/portfile.cmake @@ -11,7 +11,8 @@ file(RENAME ${CURRENT_BUILDTREES_DIR}/src/eigen-eigen-dc6cfdf9bcec ${CURRENT_BUI file(COPY ${CURRENT_BUILDTREES_DIR}/src/eigen/COPYING.README DESTINATION ${CURRENT_PACKAGES_DIR}/share/eigen/COPYING.README) file(RENAME ${CURRENT_PACKAGES_DIR}/share/eigen/COPYING.README ${CURRENT_PACKAGES_DIR}/share/eigen/copyright) -message(${CURRENT_BUILDTREES_DIR}) +file(GLOB_RECURSE GARBAGE ${CURRENT_BUILDTREES_DIR}/src/eigen/Eigen/CMakeLists.*) +file(REMOVE ${GARBAGE}) # Copy the eigen header files file(COPY ${CURRENT_BUILDTREES_DIR}/src/eigen/Eigen/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/Eigen/)