Commit Graph

10 Commits

Author SHA1 Message Date
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:
cmake . -DDETACH_KERNEL_DRIVER=ON

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

Signed-off-by: Steve Markgraf <steve@steve-m.de>
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 <jskarvad@redhat.com>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
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 <steve@steve-m.de>
2012-04-02 21:00:26 +02:00
Dimitri Stolnikov
6322c9343d add preliminary cmake build system 2012-04-01 16:52:41 +02:00