aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
AgeCommit message (Collapse)AuthorFilesLines
2020-02-27Add missing rtlsdrConfig.cmakeSteve Markgraf1-0/+8
This file was missing in commit 849f8efca42b659bf7e8fe17156ee0aa67b47233.
2020-02-26Modernize CMakeSteve Markgraf2-301/+0
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 <bottoms@debian.org>, 07 Sep 2018
2020-02-26CMake: support for libusb on GNU/HurdA. Maitland Bottoms1-2/+2
Debian builds on hurd-i386 with a variant of libusb.
2019-12-03Fixed issues compiling on Windows with MSVC, CMake and NMake (#61)leonsal1-1/+1
When trying to build a simple program which uses librtlsdr as a subproject on Windows, CMake reported several problems which were solved by: - Added complete name of libusb in FindLibUSB module. - Replaced CMAKE_SOURCE_DIR to PROJECT_SOURCE_DIR in src/CMakeLists.txt. - Replaced header file <afxres.h> in src/rtlsdr.rc.in (only present when windows MFC is installed) by <windows.h> which defines the same constants.
2014-01-24lib/cmake: check for libusb_handle_events_timeout_completed()Steve Markgraf1-0/+18
libusb < 1.0.9 doesn't have libusb_handle_events_timeout_completed(), but libusb <= 1.0.8 doesn't have version.h, so we need to check for the function. The cmake-code was borrowed from UHD, which also checks for libusb_error_name(), we add that as well since it might come handy later on. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-17cmake: detect libusb on FreeBSDSteve Markgraf1-1/+10
Source: http://patch-tracker.debian.org/patch/series/view/rtl-sdr/0.5.0.4.4914-2/libusb-freebsd Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-06-04cmake: add version moduleDimitri Stolnikov1-0/+60
2012-04-02add win32 compatibilityHoernchen1-0/+246
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01add preliminary cmake build systemDimitri Stolnikov2-0/+60