Small changes trying to remove dependency between install and all targets

release/4.3a0
Alex Cunningham 2012-03-29 20:32:05 +00:00
parent b67707542d
commit cdbeebaf1d
2 changed files with 4 additions and 3 deletions

View File

@ -75,6 +75,7 @@ endif(GTSAM_USE_QUATERNIONS)
# Avoid building non-installed exes and unit tests when installing
# FIXME: breaks generation and install of matlab toolbox
# FIXME: can't add install dependencies, so libraries never get built
#set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE)
# Pull in infrastructure

View File

@ -1,9 +1,9 @@
# Build/install CppUnitLite
FILE(GLOB cppunitlite_headers "*.h")
FILE(GLOB cppunitlite_src "*.cpp")
file(GLOB cppunitlite_headers "*.h")
file(GLOB cppunitlite_src "*.cpp")
ADD_LIBRARY(CppUnitLite STATIC ${cppunitlite_src})
add_library(CppUnitLite STATIC ${cppunitlite_src})
option(GTSAM_INSTALL_CPPUNITLITE "Enable/Disable installation of CppUnitLite library" ON)
if (GTSAM_INSTALL_CPPUNITLITE)