MeshLib icon indicating copy to clipboard operation
MeshLib copied to clipboard

CMake package config generates incorrect library path

Open ksmith-dandy opened this issue 1 year ago • 1 comments

The meshlib-config.cmake.in template has an additional /lib added to its link_directories that causes linking issues when trying to use it as a package in another project. MR_MAIN_LIB_DIR seems to reliably contain the final /lib needed at least when installing with a custom prefix.

ksmith-dandy avatar Oct 18 '24 17:10 ksmith-dandy

Hello, sorry for the delayed response. The issue was fixed in the latest version 3.0.2; add MESHLIB_THIRDPARTY_LIB_DIR path to your link directories.

oitel avatar Dec 19 '24 07:12 oitel