aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtlsdr.rc.in
diff options
context:
space:
mode:
authorleonsal <leonsal@users.noreply.github.com>2019-12-03 16:47:17 -0300
committerSteve Markgraf <steve@steve-m.de>2019-12-03 20:47:17 +0100
commitb5af355b1d833b3c898a61cf1e072b59b0ea3440 (patch)
tree801edcc7f593f963e8f7a75dd33f855d3c2364ba /src/rtlsdr.rc.in
parentbd73737c49e9a9efbd36fe4867f5843608825140 (diff)
Fixed issues compiling on Windows with MSVC, CMake and NMake (#61)
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.
Diffstat (limited to 'src/rtlsdr.rc.in')
-rw-r--r--src/rtlsdr.rc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtlsdr.rc.in b/src/rtlsdr.rc.in
index bf603c3..0861ecb 100644
--- a/src/rtlsdr.rc.in
+++ b/src/rtlsdr.rc.in
@@ -1,5 +1,5 @@
-#include <afxres.h>
+#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,0,0