Skip to content

Commit

Permalink
Merge pull request #9 from wolfv/load_config
Browse files Browse the repository at this point in the history
add config header for cling
  • Loading branch information
wolfv committed Nov 30, 2017
2 parents 3c15dae + 9c3b1f5 commit 1e8b50c
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
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
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
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
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 1e8b50c

Please sign in to comment.