Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0 cmake || is '-DENABLE_SDR_***' no longer valid? #127

Closed
K4KDR opened this issue Sep 17, 2022 · 1 comment
Closed

v1.0 cmake || is '-DENABLE_SDR_***' no longer valid? #127

K4KDR opened this issue Sep 17, 2022 · 1 comment

Comments

@K4KDR
Copy link

K4KDR commented Sep 17, 2022

After the 'volk' version issue got me past the previous error, near the very end of the make command there was an error complaining about the hackrf SDR (which I do not have or need).

Previously, and still in the README, there is syntax to not include support for unwanted SDR hardware. But when using that syntax in v1.0, I get:

CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_SDR_AIRSPYHF
    ENABLE_SDR_HACKRF

... are those flags no longer appropriate? Is there some other way to exclude hardware that you don't have driver support for.

Many thanks!

-Scott, K4KDR

@K4KDR
Copy link
Author

K4KDR commented Sep 17, 2022

Found the needed syntax!

cmake -DCMAKE_BUILD_TYPE=Release -DPLUGIN_AIRSPYHF_SDR_SUPPORT=OFF -DPLUGIN_HACKRF_SDR_SUPPORT=OFF -DPLUGIN_LIMESDR_SDR_SUPPORT=OFF -DPLUGIN_PLUTOSDR_SDR_SUPPORT=OFF -DPLUGIN_BLADERF_SDR_SUPPORT=OFF -DPLUGIN_SDRPLAY_SDR_SUPPORT=OFF -DPLUGIN_MIRISDR_SDR_SUPPORT=OFF -DPLUGIN_SPYSERVER_SUPPORT=OFF -DCMAKE_INSTALL_PREFIX=/usr ..

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

No branches or pull requests

1 participant