cmake failure looking for gtest
Recent cmake code fails on my Ubuntu 16.04LTS system, looking for gtest, apparently:
This is cmake result text for my develop branch:
-- The following OPTIONAL packages have not been found:
- CUDA
- MPI
CMake Error at /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY) Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake-3.10/Modules/FindGTest.cmake:196 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) src/tests/CMakeLists.txt:2 (FIND_PACKAGE)
This is the version of cmake I am running:
sac@rattler:~/sac2c/build_d$ cmake --version cmake version 3.10.2
I have installed libctest-dev.