diff --git a/CMakeLists.txt b/CMakeLists.txt index 1067692dd..2c7cfc7a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/CppUnitLite/CMakeLists.txt b/CppUnitLite/CMakeLists.txt index 6bd5446f9..642e8e462 100644 --- a/CppUnitLite/CMakeLists.txt +++ b/CppUnitLite/CMakeLists.txt @@ -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)