Add Boost_INCLUDE_DIR to fix error when boost is not on default system path (Macports)
parent
dda8e31934
commit
d2612d9fe1
|
@ -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"],
|
||||
|
|
|
@ -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}/../../"],
|
||||
|
|
Loading…
Reference in New Issue