File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ endif()
1616set (PCA_PLUGIN "PcaPlugin" )
1717
1818PROJECT (${PCA_PLUGIN} C CXX )
19-
19+ message ( STATUS "PcaPlugin: Start" )
2020# -----------------------------------------------------------------------------
2121# Set cmake flags
2222# -----------------------------------------------------------------------------
@@ -44,16 +44,19 @@ find_package(ManiVault COMPONENTS Core PointData CONFIG QUIET)
4444find_package (OpenMP )
4545
4646if (OpenMP_CXX_FOUND)
47- message (STATUS "Found OpenMP" )
47+ message (STATUS "PcaPlugin: Found OpenMP" )
4848endif ()
4949
5050find_package (Eigen3 CONFIG )
51- if (NOT eigen_SOURCE_DIR AND NOT TARGET Eigen3::Eigen AND NOT Eigen3_FOUND)
51+
52+ if (NOT TARGET Eigen3::Eigen)
5253 set (BUILD_TESTING OFF CACHE BOOL "Enable testing for Eigen" FORCE )
5354 set (EIGEN_BUILD_TESTING OFF CACHE BOOL "Enable creation of Eigen tests." FORCE )
5455 set (EIGEN_BUILD_DOC OFF CACHE BOOL "Enable creation of Eigen documentation" FORCE )
5556 set (EIGEN_BUILD_DEMOS OFF CACHE BOOL "Toggles the building of the Eigen demos" FORCE )
5657 fetch_content_url (eigen "https://gitlab.com/libeigen/eigen/-/archive/5.0.1.tar.gz" )
58+ else ()
59+ message (STATUS "PcaPlugin: Using external Eigen" )
5760endif ()
5861
5962# -----------------------------------------------------------------------------
Original file line number Diff line number Diff line change 1111 *
1212 * @author Thomas Kroes
1313 */
14- class DimensionSelectionAction : public GroupAction
14+ class DimensionSelectionAction : public mv ::gui:: GroupAction
1515{
1616public:
1717
You can’t perform that action at this time.
0 commit comments