Immediate CMake 3.13 errors on build.sh
It looks like deprecated syntax is being used in GPSTk CMake. Also CMake 3.12 is unable to build.
./build.sh -ue
from master, commit 997d97 of Sep 27 2018 results in
============================================================
cmake -DBUILD_PYTHON=ON -DPYTHON_EXECUTABLE=~/miniconda3/bin/python -DPYTHON_INSTALL_PREFIX=~/.local -DCMAKE_INSTALL_PREFIX=~/.local/gpstk -DBUILD_EXT=ON ~/code_other/GPSTk
CMake Error at swig/PythonSetup.cmake:45 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
swig/CMakeLists.txt:8 (include)
CMake Error at swig/PythonSetup.cmake:46 (string):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
swig/CMakeLists.txt:8 (include)
CMake Error at swig/PythonSetup.cmake:47 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
swig/CMakeLists.txt:8 (include)
CMake Deprecation Warning at ~/.local/share/cmake-3.13/Modules/UseSWIG.cmake:517 (message):
SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
swig/CMakeLists.txt:65 (swig_add_module)
CMake Warning (dev) at ~/.local/share/cmake-3.13/Modules/UseSWIG.cmake:557 (message):
Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
~/.local/share/cmake-3.13/Modules/UseSWIG.cmake:518 (swig_add_library)
swig/CMakeLists.txt:65 (swig_add_module)
This warning is for project developers. Use -Wno-dev to suppress it.
Error 1 :-(