gloo icon indicating copy to clipboard operation
gloo copied to clipboard

Installed gloo looks for libgloo in build dir

Open xsacha opened this issue 5 years ago • 2 comments

When importing Gloo (via find_package(Gloo) ), it tells me it was not able to find libglood.a in ${BUILD_DIR}. The file is correctly installed in ${INSTALL_DIR}.

This is on Linux x86_64.

Could be solved by using include(GNUInstallDirs) and relying on CMAKE_INSTALL_LIBDIR / CMAKE_INSTALL_INCLUDEDIR

xsacha avatar Mar 20 '19 04:03 xsacha

Thanks for the suggestion.

Since you're using find_package(Gloo) I assume this is a problem in the generated CMake module files?

pietern avatar Jul 22 '19 12:07 pietern

Yes

xsacha avatar Jul 22 '19 13:07 xsacha