Small changes trying to remove dependency between install and all targets
parent
b67707542d
commit
cdbeebaf1d
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue