Sfoglia il codice sorgente
Fix installation directory of CMake config files
Without this fix if one installed open62541 in the default CMAKE_INSTALL_PREFIX, or in a custom prefix that was added to CMAKE_PREFIX_PATH, `find_package(open62541 REQUIRED)` would still fail.
This is because the CMake config file was not installed in one of the many directory check by the find_package CMake command:
https://cmake.org/cmake/help/v3.8/command/find_package.html .
Before this fix, the only way of actually finding the open62541 CMake package was to directly point open62541_DIR or CMAKE_PREFIX_PATH to <prefix>/lib/cmake/open62541 .