MRPT / mrpt

:zap: The Mobile Robot Programming Toolkit (MRPT)
https://docs.mrpt.org/reference/latest/
BSD 3-Clause "New" or "Revised" License
1.89k stars 627 forks source link

How to avoid using 3rdparty libraries under 3rdparty, but using system installed libraries? #1238

Closed jiapei-nexera closed 2 years ago

jiapei-nexera commented 2 years ago

Any configuration parameters for me to specify to avoid using 3rdparty libraries under 3rdparty, but using system installed libraries?

The nanogui seems to be ..... Hmmmm

jlblancoc commented 2 years ago

Hi, In general, the cmake scripts script_*.cmake in this directory first try to find out system versions, then use embedded version only if the former is not found.

nanogui has no system package, as there are many forks around, including MRPT's own with custom changes, sorry...

You can also disable many of those dependencies by setting the DISABLE_* switches in cmake under "advanced variables".

jiapei-nexera commented 2 years ago

Successfully built... it looks it's just the issue tinyxml2, instead of tinyxml that nanogui relies on??? Thank you ...