Opened 6 years ago

#11 new defect

[Patch] gr-osmosdr: Please allow bypassing/forcing detection of optional dependencies

Reported by: sping Owned by: laforge
Priority: major Milestone: milestone:
Component: driver Version:
Keywords: Cc:

Description

Currently, when running cmake . for gr-osmosdr some optional dependencies are integrated with the build process /if/ they are found. While this auto-detection is great for end-users, it causes problems in the context of GNU/Linux distributions, especially source-based ones.

The attached patched allows to always require libosmosdr

cmake -D USE_LIBOSMOSDR=1 .

or be sure it is not included

cmake -D USE_LIBOSMOSDR=0 .

while keeping auto-detection intact for

cmake .

Please consider application of that patch. If you like the approach, I can implement it for the other optional dependencies for you.

Attachments (1)

0001-Allow-bypassing-forcing-libosmosdr-detection-through.patch (1.0 KB) - added by sping 6 years ago.
Allow bypassing/forcing libosmosdr detection through "cmake -D USE_LIBOSMOSDR=(0|1) ."

Download all attachments as: .zip

Change History (1)

Changed 6 years ago by sping

Allow bypassing/forcing libosmosdr detection through "cmake -D USE_LIBOSMOSDR=(0|1) ."

Note: See TracTickets for help on using tickets.