Make fails
andrebododea opened this issue · comments
The googletest repository has moved and is now hosted on Github. I've changed libgp-master/tests/CMakeLists.txt to reflect these changes, and it makes properly and works fine after these changes.
Your CMakeLists.txt does not work, it now cannot even do cmake ..
CMake Error at CMakeLists.txt:20 (ADD_EXECUTABLE):
ADD_EXECUTABLE called with incorrect number of arguments
CMake Error at CMakeLists.txt:21 (TARGET_LINK_LIBRARIES):
Cannot specify link libraries for target "gptest" which is not built by
this project.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.10)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
You can exclude the tests by running cmake -DBUILD_TESTS=OFF ..