Protobuf_SRC_ROOT_FOLDER not honored in all cases
When the protobuf libraries are installed outside of the system path and outside of a vsprojects
directory structure, the Protobuf_SRC_ROOT_FOLDER
has a hard time finding the actual libraries.
I am on a linux host and if I make install DESTDIR=.../protobuf_install_path
protobuf creates an output structure like .../protobuf_install_path/lib
.../protobuf_install_path/bin
.../protobuf_install_path/include
.
If I then use the FindProtobuf.cmake
module via the find_package(protobuf)
from one of my own projects and specify the -DProtobuf_SRC_ROOT_FOLDER=.../protobuf_install_path
the protobuf libraries/header/protoc are returned as NOT_FOUND
.