Skip to content

Update build - #15

Open
zuckschwerdt wants to merge 5 commits into
pothosware:masterfrom
zuckschwerdt:update-build
Open

zuckschwerdt wants to merge 5 commits into
pothosware:masterfrom
zuckschwerdt:update-build

Conversation

@zuckschwerdt

Copy link
Copy Markdown
Member

Please "Rebase and merge" these three commits to update the build system for recent CMake versions and Github Actions.

If possible tag a soapy-spyserver-0.1.1 after that.

Derive the `_SoapySDR_ROOT` in CMakeLists.txt from `"${SoapySDR_INCLUDE_DIRS}/.."`.
On the first cmake run overrides a default `CMAKE_INSTALL_PREFIX` with this `_SoapySDR_ROOT`.
A custom install prefix, e.g. `-DCMAKE_INSTALL_PREFIX=/my/path`, will not be changed.
If the SoapySDR root is /usr then the default module prefix will be /usr/local to match SoapySDR's search path.
@zuckschwerdt

Copy link
Copy Markdown
Member Author

Apparently something broken in Gcc 13+ / Clang 16+:

  • added #include <stdexcept> for throw std::runtime_error() in networking.cpp
  • and CISO646 include added for Windows targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant