Currently, to run protoc for Prolog, the directory /usr/lib/swi-prolog/library/protobufs needs to be in the $PATH. It would be better if protoc-gen-swipl were in the same directory as the swipl executable (e.g., /usr/lib/swipl).
This could be done with a symlink from /usr/lib/protoc-gen-swipl to /usr/lib/swi-prolog/library/protobufs/protoc-gen-swipl -- how would this be specified in protobufs/CMakeLists.txt?
Currently, to run
protocfor Prolog, the directory/usr/lib/swi-prolog/library/protobufsneeds to be in the$PATH. It would be better ifprotoc-gen-swiplwere in the same directory as theswiplexecutable (e.g.,/usr/lib/swipl).This could be done with a symlink from
/usr/lib/protoc-gen-swiplto/usr/lib/swi-prolog/library/protobufs/protoc-gen-swipl-- how would this be specified inprotobufs/CMakeLists.txt?