MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #29277 All Revisions ] Back to Issue ]
Summary 0029277: Configuration, Cmake - remove 3rd-party libraries from INTERFACE_LINK_LIBRARIES property of installed OCCT targets
Revision 2017-10-31 13:46 by ski
Description OCCT (CMake) installation procedure creates OpenCASCADE*Targets.cmake file for each module.
These files contain CMake description of all targets from specific module.
Also property INTERFACE_LINK_LIBRARIES is described for each target.
This property contains the list of transitive link dependencies.
When the target is linked into another target the libraries listed (and recursively their link interface libraries) will be provided to the other target also.

In this case any project which is using OCCT as a 3rd-party product will try to link to transitive links to the OCCT's 3rd-parties (tbb, freeimage and so on).
Sometimes these links contain absolute paths to the libraries and this cause linkage errors if OCCT was taken from some other station.

It is proposed to remove such interface links.
Revision 2017-10-31 12:04 by ski
Description OCCT (CMake) installation procedure creates OpenCASCADE*Targets.cmake file for each module.
This files contain CMake description of all targets from specific module.
Also property INTERFACE_LINK_LIBRARIES is described for each target.
This property contains the list of transitive link dependencies.
When the target is linked into another target the libraries listed (and recursively their link interface libraries) will be provided to the other target also.

In this case any project which is using OCCT as a 3rd-party product will try to link to transitive links to the OCCT's 3rd-parties (tbb, freeimage and so on).
Sometimes these links contain absolute paths to the libraries and this cause linkage errors if OCCT was taken from some other station.

It is proposed to remove such interface links.


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker