From 03d86ea736d8ea49092c8963880cc64e91e679a5 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 16 Feb 2011 17:59:35 +0100 Subject: [PATCH] fix intallation of unsupported modules --- unsupported/Eigen/CMakeLists.txt | 2 +- unsupported/Eigen/src/CMakeLists.txt | 12 +++++++----- unsupported/Eigen/src/FFT/CMakeLists.txt | 6 ++++++ .../Eigen/src/NonLinearOptimization/CMakeLists.txt | 6 +++--- unsupported/Eigen/src/NumericalDiff/CMakeLists.txt | 6 ++++++ unsupported/Eigen/src/Skyline/CMakeLists.txt | 6 ++++++ 6 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 unsupported/Eigen/src/FFT/CMakeLists.txt create mode 100644 unsupported/Eigen/src/NumericalDiff/CMakeLists.txt create mode 100644 unsupported/Eigen/src/Skyline/CMakeLists.txt diff --git a/unsupported/Eigen/CMakeLists.txt b/unsupported/Eigen/CMakeLists.txt index 024ac2738..219ec8ead 100644 --- a/unsupported/Eigen/CMakeLists.txt +++ b/unsupported/Eigen/CMakeLists.txt @@ -1,6 +1,6 @@ set(Eigen_HEADERS AdolcForward BVH IterativeSolvers MatrixFunctions MoreVectorization AutoDiff AlignedVector3 Polynomials CholmodSupport FFT NonLinearOptimization SparseExtra SuperLUSupport UmfPackSupport IterativeSolvers - NumericalDiff Skyline MPRealSupport + NumericalDiff Skyline MPRealSupport OpenGLSupport ) install(FILES diff --git a/unsupported/Eigen/src/CMakeLists.txt b/unsupported/Eigen/src/CMakeLists.txt index 4578c2e85..cd442cefa 100644 --- a/unsupported/Eigen/src/CMakeLists.txt +++ b/unsupported/Eigen/src/CMakeLists.txt @@ -1,9 +1,11 @@ -ADD_SUBDIRECTORY(IterativeSolvers) -ADD_SUBDIRECTORY(BVH) ADD_SUBDIRECTORY(AutoDiff) -ADD_SUBDIRECTORY(MoreVectorization) -# ADD_SUBDIRECTORY(FFT) -# ADD_SUBDIRECTORY(Skyline) +ADD_SUBDIRECTORY(BVH) +ADD_SUBDIRECTORY(FFT) +ADD_SUBDIRECTORY(IterativeSolvers) ADD_SUBDIRECTORY(MatrixFunctions) +ADD_SUBDIRECTORY(MoreVectorization) +ADD_SUBDIRECTORY(NonLinearOptimization) +ADD_SUBDIRECTORY(NumericalDiff) ADD_SUBDIRECTORY(Polynomials) +ADD_SUBDIRECTORY(Skyline) ADD_SUBDIRECTORY(SparseExtra) diff --git a/unsupported/Eigen/src/FFT/CMakeLists.txt b/unsupported/Eigen/src/FFT/CMakeLists.txt new file mode 100644 index 000000000..edcffcb18 --- /dev/null +++ b/unsupported/Eigen/src/FFT/CMakeLists.txt @@ -0,0 +1,6 @@ +FILE(GLOB Eigen_FFT_SRCS "*.h") + +INSTALL(FILES + ${Eigen_FFT_SRCS} + DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/FFT COMPONENT Devel + ) diff --git a/unsupported/Eigen/src/NonLinearOptimization/CMakeLists.txt b/unsupported/Eigen/src/NonLinearOptimization/CMakeLists.txt index 3fbab502c..9322ddadf 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/CMakeLists.txt +++ b/unsupported/Eigen/src/NonLinearOptimization/CMakeLists.txt @@ -1,6 +1,6 @@ -FILE(GLOB Eigen_NonLinear_SRCS "*.h") +FILE(GLOB Eigen_NonLinearOptimization_SRCS "*.h") INSTALL(FILES - ${Eigen_NonLinear_SRCS} - DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/NonLinear COMPONENT Devel + ${Eigen_NonLinearOptimization_SRCS} + DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/NonLinearOptimization COMPONENT Devel ) diff --git a/unsupported/Eigen/src/NumericalDiff/CMakeLists.txt b/unsupported/Eigen/src/NumericalDiff/CMakeLists.txt new file mode 100644 index 000000000..1199aca2f --- /dev/null +++ b/unsupported/Eigen/src/NumericalDiff/CMakeLists.txt @@ -0,0 +1,6 @@ +FILE(GLOB Eigen_NumericalDiff_SRCS "*.h") + +INSTALL(FILES + ${Eigen_NumericalDiff_SRCS} + DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/NumericalDiff COMPONENT Devel + ) diff --git a/unsupported/Eigen/src/Skyline/CMakeLists.txt b/unsupported/Eigen/src/Skyline/CMakeLists.txt new file mode 100644 index 000000000..3bf1b0dd4 --- /dev/null +++ b/unsupported/Eigen/src/Skyline/CMakeLists.txt @@ -0,0 +1,6 @@ +FILE(GLOB Eigen_Skyline_SRCS "*.h") + +INSTALL(FILES + ${Eigen_Skyline_SRCS} + DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/Skyline COMPONENT Devel + )