Change default to ENABLE_RTLSDR=ON
This commit is contained in:
parent
44c7256b4a
commit
7dec65ee59
3 changed files with 7 additions and 2 deletions
|
@ -13,7 +13,7 @@ matrix:
|
|||
- export PATH=$MSBUILD_PATH:$PATH
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -G "Visual Studio 15 2017 Win64" ..
|
||||
- cmake -DENABLE_RTLSDR=OFF -G "Visual Studio 15 2017 Win64" ..
|
||||
- MSBuild.exe rtl433.sln
|
||||
# Test Visual Studio 2017 (MSBuild), disabled because it assumes RTLSDR
|
||||
# - os: windows
|
||||
|
|
|
@ -54,6 +54,11 @@ Installation using CMake:
|
|||
make
|
||||
make install
|
||||
|
||||
Use CMake with `-DENABLE_SOAPYSDR=ON` (default: `AUTO`) to require SoapySDR, use `-DENABLE_RTLSDR=OFF` (default: `ON`) to disable RTL-SDR if needed.
|
||||
E.g. use:
|
||||
|
||||
cmake -DENABLE_SOAPYSDR=ON ..
|
||||
|
||||
### Autotools (Autoconf, Automake)
|
||||
|
||||
Installation using Autotools:
|
||||
|
|
|
@ -86,7 +86,7 @@ endif()
|
|||
########################################################################
|
||||
# Find build dependencies
|
||||
########################################################################
|
||||
set(ENABLE_RTLSDR AUTO CACHE STRING "Enable RTL-SDR (lbrtlsdr) driver support")
|
||||
set(ENABLE_RTLSDR ON CACHE STRING "Enable RTL-SDR (lbrtlsdr) driver support")
|
||||
set_property(CACHE ENABLE_RTLSDR PROPERTY STRINGS AUTO ON OFF)
|
||||
if(ENABLE_RTLSDR) # AUTO / ON
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue