MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #32035 All Revisions ] Back to Issue ]
Summary 0032035: Configuration - bug in OpenCASCADEConfig.cmake when using INSTALL_DIR_CMAKE
Revision 2021-01-12 15:45 by kgv
Description when using INSTALL_DIR_CMAKE during the configuration phase, it's possible to change the installation location of cmake files

OpenCASCADEConfig.cmake defines opencascade installation root (variable) OpenCASCADE_INSTALL_PREFIX starting from the path of cmake file itself by assuming the cmake file is installed below the same path of the include and lib files. This is true only in the case INSTALL_DIR_CMAKE is not defined externally

the result is that find_package(OpenCASCADE) sets wrong OpenCASCADE_*_DIR variables in 3rd part cmake files trying to look for opencascade

The same applies for latest 7.5.0.
Revision 2020-12-31 20:32 by efferre79
Description when using INSTALL_DIR_CMAKE during the configuration phase, it's possible to change the installation location of cmake files

OpenCASCADEConfig.cmake defines opencascade installation root (variable) OpenCASCADE_INSTALL_PREFIX starting from the path of cmake file itself by assuming the cmake file is installed below the same path of the include and lib files. This is true only in the case INSTALL_DIR_CMAKE is not defined externally

the result is that find_package(OpenCASCADE) sets wrong OpenCASCADE_*_DIR variables in 3rd part cmake files trying to look for opencascade


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker