OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

Add option to generate CMake parameters pointing to installed dependencies

Open eszpotanski opened this issue 6 months ago • 1 comments

This PR adds -save-deps-prefixes=FILE argument to DependencyInstaller.sh, which dumps additional CMake parameters in form of -D <PackageName>_ROOT=<path>.

Those parameters can be used for OpenROAD built, to make sure the correct dependencies' versions are used.

Moreover, GTest:: was added to Google Test target link, fixing build errors (on Ubuntu 24.04):

/usr/bin/ld: cannot find -lgtest: No such file or directory
/usr/bin/ld: cannot find -lgmock: No such file or directory
/usr/bin/ld: cannot find -lgtest_main: No such file or directory

eszpotanski avatar Aug 27 '24 16:08 eszpotanski