summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoernchen <la@tfc-server.de>2013-10-03 22:44:46 +0200
committerHoernchen <la@tfc-server.de>2013-10-03 22:44:46 +0200
commit3b6d910f0c534a78dc8533bbe1c3f4a5b81ccb8a (patch)
treec9049fffaaaab29f8e9f10a2f385327b48c302c1
parent4f2d10d59140817e02688bd43b6be8f8d0762169 (diff)
fixed the windows build
-rw-r--r--include-gpl/dsp/interpolator.h2
-rw-r--r--include/gui/basicchannelsettingswidget.h3
-rw-r--r--plugins/samplesource/gnuradio/CMakeLists.txt2
3 files changed, 5 insertions, 2 deletions
diff --git a/include-gpl/dsp/interpolator.h b/include-gpl/dsp/interpolator.h
index f51f3ff..ae91062 100644
--- a/include-gpl/dsp/interpolator.h
+++ b/include-gpl/dsp/interpolator.h
@@ -5,7 +5,9 @@
#include "dsp/dsptypes.h"
#include "util/export.h"
#include <stdio.h>
+#ifndef WIN32
#include <unistd.h>
+#endif
class SDRANGELOVE_API Interpolator {
public:
diff --git a/include/gui/basicchannelsettingswidget.h b/include/gui/basicchannelsettingswidget.h
index 072cda1..8782bba 100644
--- a/include/gui/basicchannelsettingswidget.h
+++ b/include/gui/basicchannelsettingswidget.h
@@ -2,6 +2,7 @@
#define INCLUDE_BASICCHANNELSETTINGSWIDGET_H
#include <QWidget>
+#include "util/export.h"
namespace Ui {
class BasicChannelSettingsWidget;
@@ -9,7 +10,7 @@ namespace Ui {
class ChannelMarker;
-class BasicChannelSettingsWidget : public QWidget {
+class SDRANGELOVE_API BasicChannelSettingsWidget : public QWidget {
Q_OBJECT
public:
diff --git a/plugins/samplesource/gnuradio/CMakeLists.txt b/plugins/samplesource/gnuradio/CMakeLists.txt
index 16f37aa..0e08608 100644
--- a/plugins/samplesource/gnuradio/CMakeLists.txt
+++ b/plugins/samplesource/gnuradio/CMakeLists.txt
@@ -9,7 +9,7 @@ if(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")
list(APPEND BOOST_LIBRARYDIR "/usr/lib64") #fedora 64-bit fix
endif(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")
-find_package(Boost)
+find_package(Boost COMPONENTS system)
if(NOT GNURADIO_RUNTIME_FOUND AND GNURADIO_OSMOSDR_FOUND)