fix dependencies for gtsam_unstable_cython

release/4.3a0
Duy-Nguyen Ta 2017-07-23 15:08:40 -04:00
parent 77fb84b942
commit 6a59aa8046
1 changed files with 2 additions and 2 deletions

View File

@ -24,13 +24,13 @@ if (GTSAM_INSTALL_CYTHON_TOOLBOX)
# wrap gtsam_unstable # wrap gtsam_unstable
if(GTSAM_BUILD_UNSTABLE) if(GTSAM_BUILD_UNSTABLE)
set(GTSAM_UNSTABLE_IMPORT "from gtsam_unstable import *") set(GTSAM_UNSTABLE_IMPORT "from gtsam_unstable import *")
set(gtsam_unstable_cython_dependencies gtsam_unstable gtsam_cython)
wrap_and_install_library_cython("../gtsam_unstable/gtsam_unstable.h" # interface_header wrap_and_install_library_cython("../gtsam_unstable/gtsam_unstable.h" # interface_header
"from gtsam.gtsam cimport *" # extra imports "from gtsam.gtsam cimport *" # extra imports
"${GTSAM_CYTHON_INSTALL_PATH}/gtsam" # install path "${GTSAM_CYTHON_INSTALL_PATH}/gtsam" # install path
gtsam_unstable # library to link with gtsam_unstable # library to link with
gtsam_unstable # dependencies which need to be built before the wrapper "${gtsam_unstable_cython_dependencies}" # dependencies which need to be built before the wrapper
) )
add_dependencies(gtsam_unstable_cython_wrapper gtsam_cython_wrapper)
endif() endif()
# Install the custom-generated __init__.py with gtsam_unstable disabled # Install the custom-generated __init__.py with gtsam_unstable disabled