diff --git a/CMakeLists.txt b/CMakeLists.txt index bb2decd8..e4ef8472 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ add_library(matplotlib_cpp INTERFACE) target_include_directories(matplotlib_cpp INTERFACE $ + $ $ ) target_compile_features(matplotlib_cpp INTERFACE diff --git a/matplotlibcpp.h b/matplotlibcpp.h index d95d46ad..705ad201 100644 --- a/matplotlibcpp.h +++ b/matplotlibcpp.h @@ -350,10 +350,10 @@ template <> struct select_npy_type { const static NPY_TYPES type = NPY // Sanity checks; comment them out or change the numpy type below if you're compiling on // a platform where they don't apply -static_assert(sizeof(long long) == 8); -template <> struct select_npy_type { const static NPY_TYPES type = NPY_INT64; }; -static_assert(sizeof(unsigned long long) == 8); -template <> struct select_npy_type { const static NPY_TYPES type = NPY_UINT64; }; +// static_assert(sizeof(long long) == 8); +// template <> struct select_npy_type { const static NPY_TYPES type = NPY_INT64; }; +// static_assert(sizeof(unsigned long long) == 8); +// template <> struct select_npy_type { const static NPY_TYPES type = NPY_UINT64; }; template PyObject* get_array(const std::vector& v)