diff --git a/cython/gtsam/setup.py.in b/cython/gtsam/setup.py.in index 7efbb9d68..1e97567c9 100644 --- a/cython/gtsam/setup.py.in +++ b/cython/gtsam/setup.py.in @@ -13,7 +13,8 @@ setup( "gtsam", sources=["gtsam.pyx"], include_dirs = ["${CMAKE_SOURCE_DIR}", "${CMAKE_BINARY_DIR}", - "${CMAKE_SOURCE_DIR}/gtsam/3rdparty/Eigen" + "${CMAKE_SOURCE_DIR}/gtsam/3rdparty/Eigen", + "${Boost_INCLUDE_DIR}" ] + eigency.get_includes(include_eigen=False), libraries = ['gtsam'], library_dirs = ["${CMAKE_BINARY_DIR}/gtsam"], diff --git a/cython/gtsam_unstable/setup.py.in b/cython/gtsam_unstable/setup.py.in index 7e81f5b7d..fe6a02fbd 100644 --- a/cython/gtsam_unstable/setup.py.in +++ b/cython/gtsam_unstable/setup.py.in @@ -16,7 +16,8 @@ setup( "gtsam_unstable", sources=["gtsam_unstable.pyx"], include_dirs = ["${CMAKE_SOURCE_DIR}", "${CMAKE_BINARY_DIR}", - "${CMAKE_SOURCE_DIR}/gtsam/3rdparty/Eigen" + "${CMAKE_SOURCE_DIR}/gtsam/3rdparty/Eigen", + "${Boost_INCLUDE_DIR}" ] + eigency.get_includes(include_eigen=False), libraries=['gtsam', 'gtsam_unstable'], library_dirs=["${GTSAM_DIR}/../../"],