Files
Steve GilvarryandClaude Opus 5 2440a76c95 build: find the gsoap plugin sources under a non-standard prefix refs #4998
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
2026-09-12 15:52:47 +10:00
..