Fix link error for gtsam_unstable cython wrapper

release/4.3a0
cbeall 2017-04-06 17:35:43 -07:00
parent e4b91fc17a
commit 6824ee0487
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@ setup(
"${Boost_INCLUDE_DIR}"
] + eigency.get_includes(include_eigen=False),
libraries=['gtsam', 'gtsam_unstable'],
library_dirs=["${GTSAM_DIR}/../../"],
library_dirs = ["${CMAKE_BINARY_DIR}/gtsam",
"${CMAKE_BINARY_DIR}/gtsam_unstable"],
language="c++",
extra_compile_args="${CMAKE_CXX_FLAGS}".split(),
extra_link_args="${CMAKE_SHARED_LINKER_FLAGS}".split()))