mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-13 13:49:22 -04:00
FindGSOAP looked for wsseapi.c only under /usr/share/gsoap/plugin and
/usr/local/share/gsoap/plugin. Homebrew installs it at
$(brew --prefix)/share/gsoap/plugin, so on macOS GSOAP_FOUND came back
true while GSOAP_PLUGIN_DIR did not, and configure died trying to
compile a path spelled literally NOTFOUND:
CMake Error at src/CMakeLists.txt:149 (add_library):
GSOAP_PLUGIN_DIR-NOTFOUND/smdevp.c
Derive a hint from GSOAP_INCLUDE_DIR, which is already resolved by then.
That covers any prefix the headers were found under rather than macOS
specifically, so a --prefix=/opt install on Linux gets the same benefit.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B5KL9Xbi7K5aGsauLtd8tG