diff --git a/.travis.yml b/.travis.yml index 2e65f7c..6ad463d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -118,7 +118,7 @@ script: - cd $TRAVIS_BUILD_DIR - mkdir build - cd build - - cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ../ + - cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILD_TESTING=ON ../ - make - make test diff --git a/CMakeLists.txt b/CMakeLists.txt index 39178d0..82c1b5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,7 +107,7 @@ configure_package_config_file(${CMAKE_SOURCE_DIR}/cmake/OsqpEigenConfig.cmake.in install(FILES ${CMAKE_BINARY_DIR}/OsqpEigenConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/OsqpEigen) -option(BUILD_TESTING "Create tests using CMake" ON) +option(BUILD_TESTING "Create tests using CMake" OFF) include(AddUninstallTarget)