Skip to content

Commit

Permalink
Change default to ENABLE_RTLSDR=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckschwerdt committed Apr 15, 2019
1 parent 44c7256 commit 7dec65e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7dec65e

Please sign in to comment.