Commit Graph

36 Commits (master)

Author SHA1 Message Date
Clayton Smith c945bd075c Use library paths from pkg-config
Signed-off-by: Clayton Smith <>
2023-12-06 21:47:25 -05:00
Oliver Smith 420086af84 Release 2.0.1
Create a fixup release that contains an updated debian/changelog.

Change-Id: Ie7df1b4e2b703d1c562d4394fecb2cf2dc1da594
2023-11-03 10:21:21 +01:00
Steve Markgraf 42e820754c change version to 2.0.0
Signed-off-by: Steve Markgraf <>
2023-11-02 13:29:20 +01:00
Eric Wild 0847e93e08 fix windows build
We really should not have pkgconfig as a build requirement on windows.
2020-11-01 01:13:33 +01:00
Eric Wild ed0317e6a5 cmake: populate pkgconfig file with prefix
Previously the prefix and related paths were not set.
2020-08-02 23:48:42 +02:00
Steve Markgraf d6ca2b0fc5 Fix for CMake < 3.12.0
As several current LTS distributions currently ship with CMake
< 3.12.0, add a work-around for CMake Issue 16967.

Otherwise we get:
CMake Error at
/usr/share/cmake-3.7/Modules/CheckCXXSourceCompiles.cmake:64 (try_compile):
   Unknown extension ".cxx" for file


   try_compile() works only for enabled languages.  Currently these are:

2020-03-02 21:11:40 +01:00
Steve Markgraf 849f8efca4 Modernize CMake
New minimum version is CMake 3.7.2.

This patch has been rebased to incorporate changes that happened
since the creation of the original patch.

Original Author: A. Maitland Bottoms  <>, 07 Sep 2018
2020-02-26 23:55:32 +01:00
Steve Markgraf be2e4f899a set CMake policy CMP0075 if it exists
Otherwise newer versions of CMake are throwing a warning.
2020-01-19 16:56:51 +01:00
leonsal bd73737c49 allow building librtlsdr as CMake subproject
Replace CMAKE_SOURCE_DIR by PROJECT_SOURCE_DIR in main CMakeLists.txt
to fix CMake errors when building librtlsdr as a subproject.
2019-11-12 21:09:05 +01:00
Steve Markgraf 81833a1cf6 lib: disable usbfs zero-copy support by default
Although we added a detection mechanism for the presence of the Kernel
bug earlier, reading from the incorrectly mapped memory might cause a
bus error on some ARM systems.

With the overall performance benefit being rather minimal for the
data rates of rtl-sdr, disable zero-copy by default.
2019-07-16 23:49:48 +02:00
Steve Markgraf c4452b6d5a change version to 0.6git
Signed-off-by: Steve Markgraf <>
2018-10-07 01:00:49 +02:00
Steve Markgraf 1f0eafe604 change version to 0.6.0
Signed-off-by: Steve Markgraf <>
2018-08-26 14:54:51 +02:00
Martin Hauke 326b0e3acc Fix build with MinGW
Signed-off-by: Steve Markgraf <>
2018-05-01 14:13:00 +02:00
Steve Markgraf d93819d29d change version to 0.6git
Signed-off-by: Steve Markgraf <>
2018-05-01 12:46:31 +02:00
Steve Markgraf 9ca8780df7 change version to 0.5.4
Signed-off-by: Steve Markgraf <>
2018-04-29 00:30:45 +02:00
Hoernchen b04c2f9f03 fix for msvc14 2017-09-19 19:26:49 +02:00
Steve Markgraf 03a40c44f5 change version to 0.5.3git
Signed-off-by: Steve Markgraf <>
2014-02-08 14:46:26 +01:00
Steve Markgraf df9596b2d1 change version to 0.5.3
Signed-off-by: Steve Markgraf <>
2014-02-07 02:04:24 +01:00
Steve Markgraf be8716b2c8 cflags: add -Wdeclaration-after-statement
This allows people working on the code to spot the
most common error that breaks the MSVC build

Signed-off-by: Steve Markgraf <>
2014-01-24 17:45:55 +01:00
Steve Markgraf 2890fe96e0 change version to 0.5.2git
Signed-off-by: Steve Markgraf <>
2013-12-16 21:31:08 +01:00
Steve Markgraf 2d0eaa898d change version to 0.5.2
Signed-off-by: Steve Markgraf <>
2013-12-12 00:26:43 +01:00
Steve Markgraf 965a4ab5e9 build: don't warn on unused parameters
Signed-off-by: Steve Markgraf <>
2013-11-04 22:12:09 +01:00
Steve Markgraf fda22c6a1d change version to 0.5.1git
Signed-off-by: Steve Markgraf <>
2013-11-04 21:43:17 +01:00
Steve Markgraf 55694f0750 new version: 0.5.1
Signed-off-by: Steve Markgraf <>
2013-10-29 15:35:52 +01:00
Steve Markgraf 390b560e4a change version to 0.5git
Signed-off-by: Steve Markgraf <>
2013-06-12 18:49:38 +02:00
Steve Markgraf af1e2d29e8 bump version to 0.5.0
Signed-off-by: Steve Markgraf <>
2013-06-04 21:04:10 +02:00
Steve Markgraf 3e17ef2b55 lib: don't detach kernel driver by default
Since this feature also disconnects running instances
of librtlsdr that claimed the device, it is now disabled
by default and can only be enabled at compile time.

To enable it when building with cmake:

To enable it when building with automake:
./configure --enable-driver-detach

Signed-off-by: Steve Markgraf <>
2013-06-04 20:57:43 +02:00
Dimitri Stolnikov ce341fe53b cmake: add version module 2013-06-04 20:18:56 +02:00
Jaroslav Škarvada a5dd532cbb rtl-sdr: add support for lib64 (e.g. Fedora)
Another possibility is to use the GrPlatform.cmake module.

Signed-off-by: Jaroslav Škarvada <>
Signed-off-by: Steve Markgraf <>
2013-04-14 17:05:08 +02:00
Dimitri Stolnikov 0c7ba8e03e don't install udev rules by default, as it may pollute the system
For cmake call with -DINSTALL_UDEV_RULES=ON for the rules to be
installed during the default install/uninstall stages.

For autotools call "make install-udev-rules" or "make uninstall-udev-

The rules file will be installed to "/etc/udev/rules.d".
2012-09-08 16:37:56 +02:00
Dimitri Stolnikov 0fb8543dde install (and uninstall) udev rules file 2012-09-02 22:15:55 +02:00
Dimitri Stolnikov 5371f206f3 install pkg-config file when building with cmake 2012-05-12 12:34:21 +02:00
Dimitri Stolnikov e5e68c6524 compile with warnings enabled 2012-04-25 22:36:56 +02:00
Dimitri Stolnikov 030c787cfa cmake & autotools fixes from previous commit 2012-04-02 21:42:24 +02:00
Hoernchen 229ebd2ff2 add win32 compatibility
Signed-off-by: Steve Markgraf <>
2012-04-02 21:00:26 +02:00
Dimitri Stolnikov 6322c9343d add preliminary cmake build system 2012-04-01 16:52:41 +02:00