Removed unnecessary linking cmake option
parent
1d0aaacbd6
commit
736a3ae1a9
|
@ -39,9 +39,7 @@ option(GTSAM_BUILD_TESTS "Enable/Disable building of tests" ON)
|
|||
option(GTSAM_BUILD_TIMING "Enable/Disable building of timing scripts" ON)
|
||||
option(GTSAM_BUILD_EXAMPLES "Enable/Disable building of examples" ON)
|
||||
option(GTSAM_BUILD_WRAP "Enable/Disable building of matlab wrap utility (necessary for matlab interface)" ON)
|
||||
option(GTSAM_BUILD_CONVENIENCE_LIBRARIES "Enable/Disable using convenience librares for tests" ON)
|
||||
option(GTSAM_LINK_BINARIES_AGAINST_CONVENIENCE_LIBS
|
||||
"Enable/Disable linking tests against the convenince libraries for faster debugging" ON)
|
||||
option(GTSAM_BUILD_CONVENIENCE_LIBRARIES "Enable/Disable using convenience librares for tests and examples" ON)
|
||||
|
||||
# Avoid building non-installed exes and unit tests when installing
|
||||
# FIXME: breaks generation and install of matlab toolbox
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if (GTSAM_LINK_BINARIES_AGAINST_CONVENIENCE_LIBS)
|
||||
if (GTSAM_BUILD_CONVENIENCE_LIBRARIES)
|
||||
set(convenience_libs
|
||||
slam
|
||||
nonlinear
|
||||
|
@ -7,10 +7,10 @@ if (GTSAM_LINK_BINARIES_AGAINST_CONVENIENCE_LIBS)
|
|||
geometry
|
||||
base
|
||||
ccolamd)
|
||||
else (GTSAM_LINK_BINARIES_AGAINST_CONVENIENCE_LIBS)
|
||||
else (GTSAM_BUILD_CONVENIENCE_LIBRARIES)
|
||||
set(convenience_libs
|
||||
gtsam-static)
|
||||
endif (GTSAM_LINK_BINARIES_AGAINST_CONVENIENCE_LIBS)
|
||||
endif (GTSAM_BUILD_CONVENIENCE_LIBRARIES)
|
||||
|
||||
# exclude certain files
|
||||
# note the source dir on each
|
||||
|
|
Loading…
Reference in New Issue