Skip to content

Commit

Permalink
add config header for cling
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Nov 30, 2017
1 parent 3c15dae commit 9c3b1f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/xtensor-io/xaudio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "xtensor/xarray.hpp"
#include "xtensor/xeval.hpp"

#include "xtensor_io_config.hpp"
#pragma cling load("sndfile")

namespace xt
Expand Down
1 change: 1 addition & 0 deletions include/xtensor-io/ximage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "xtensor/xarray.hpp"
#include "xtensor/xeval.hpp"

#include "xtensor_io_config.hpp"
#pragma cling load("OpenImageIO")

namespace xt
Expand Down
1 change: 1 addition & 0 deletions include/xtensor-io/xnpz.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

#include <xtensor/xnpy.hpp>

#include "xtensor_io_config.hpp"
#pragma cling load("z")

namespace xt
Expand Down
2 changes: 1 addition & 1 deletion include/xtensor-io/xtensor_io_config.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#define XTENSOR_IO_VERSION_MAJOR 0
#define XTENSOR_IO_VERSION_MINOR 2
#define XTENSOR_IO_VERSION_PATCH 0
#define XTENSOR_IO_VERSION_PATCH 1

#pragma cling add_library_path(@XTENSOR_IO_CLING_LIBRARY_DIR_64@)
#pragma cling add_library_path(@XTENSOR_IO_CLING_LIBRARY_DIR_32@)
Expand Down

0 comments on commit 9c3b1f5

Please sign in to comment.