mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-29 19:34:56 +01:00
b5af355b1d
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.