]> sigrok.org Git - libsigrok.git/commitdiff
Build: Prefix directory to include of enums.hpp
authorDaniel Elstner <redacted>
Sat, 15 Aug 2015 14:10:36 +0000 (16:10 +0200)
committerDaniel Elstner <redacted>
Sun, 16 Aug 2015 16:28:13 +0000 (18:28 +0200)
This fixes a build problem due to the reduced include search paths
introduced by my recent changes.  Also fix a couple of other
includes to use angle brackets.

bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp
bindings/swig/classes.i

index e1e8d7b96b96ce4bd61c74ad5ff129b4345684e9..b9395a7109b5c60507a3a0107d579193e6550b16 100644 (file)
@@ -70,7 +70,7 @@ raised, which provides access to the error code and description.
 #ifndef LIBSIGROKCXX_HPP
 #define LIBSIGROKCXX_HPP
 
-#include "libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include <glibmm.h>
 
 #include <stdexcept>
@@ -1047,7 +1047,7 @@ protected:
        const string _name;
 };
 
-#include "enums.hpp"
+#include <libsigrokcxx/enums.hpp>
 
 }
 
index cdb9f0e7716e6bbb2b2a87831dcc7cd751e21741..6323fab114d069862f48d37fa9884a98a666fa52 100644 (file)
@@ -20,7 +20,7 @@
 #pragma SWIG nowarn=325,401
 
 %{
-#include "libsigrokcxx/libsigrokcxx.hpp"
+#include <libsigrokcxx/libsigrokcxx.hpp>
 using namespace std;
 %}
 
@@ -271,10 +271,10 @@ typedef std::map<const sigrok::ConfigKey *, Glib::VariantBase>
 %attribute(sigrok::Analog, const sigrok::Unit *, unit, unit);
 %attributevector(Analog, std::vector<const sigrok::QuantityFlag *>, mq_flags, mq_flags);
 
-%include "libsigrokcxx/libsigrokcxx.hpp"
+%include <libsigrokcxx/libsigrokcxx.hpp>
 
 %include "enums.i"
 
 namespace sigrok {
-%include "libsigrokcxx/enums.hpp"
+%include <libsigrokcxx/enums.hpp>
 }