PackageConfig is not self-contained
eile opened this issue · 3 comments
eile commented
Reported by @bweyers: when doing find_package(Lunchbox), zeqConfig.cmake uses common_package, which is unknown to external projects:
CMake Error at C:/Users/Christian/Desktop/zeq/build/Lunchbox/LunchboxConfig.cmake:26 (common_package):
Unknown CMake command "common_package".
eile commented
HBPVIS/ZeroEQ#56 was identified as missing in the context of this bug. Please update .gitexternal in zeq once fix is merged.
eile commented
@bweyers/@cnowke: Your CMAKE_MODULE_PATH points to a CMAKE_BINARY_DIR, not the installed artefacts (in CMAKE_INSTALL_PREFIX). This is intended to be used in Superprojects, and they anyways need the CMake/common stuff.
TL;DR: Please 'make install' zeq and point Vista's CMAKE_MODULE_PATH there.
eile commented
Closing: wrong package config was used.