]> OCCT Git - occt.git/commit
0033319: Coding - Static linking fails with unresolved symbols due to linking order...
authorreciprocal <m.massing@virtualities.de>
Thu, 16 May 2024 14:29:06 +0000 (16:29 +0200)
committerdpasukhi <dpasukhi@opencascade.com>
Thu, 5 Sep 2024 18:15:57 +0000 (18:15 +0000)
commit2ab4e9e18045c3fd7d57ee6c5f060320eab2aa04
tree9715da3b23964a585acf86584092202e8391222c
parentd83d72acf9ec66c0a847f5ae17aebbb0fd8c41dd
0033319: Coding - Static linking fails with unresolved symbols due to linking order and missing transitive dependencies

The absence of target_link_libraries calls for static libraries caused CMake to fail
in modeling the link dependencies correctly.
This fix ensures that CMake correctly exports the dependencies in OpenCASCADEConfig.cmake and
resolves downstream linking errors for projects that link against static OpenCASCADE libraries.
adm/cmake/occt_toolkit.cmake