Skip to content

cmake issue

cmake won't run through on some machines (our workstations / itpa cluster). It complains about policies and SWIG

Found SWIG: /usr/bin/swig3.0 (found suitable version "3.0.10", minimum required is "3.0")
CMake Error at src/CMakeLists.txt:27 (cmake_policy):
  Policy "CMP0086" is not known to this version of CMake.


CMake Error at src/CMakeLists.txt:28 (cmake_policy):
  Policy "CMP0078" is not known to this version of CMake.


-- SWIG found: /usr/bin/swig3.0.
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found version "3.5.3")
-- Python found, building Python bindings
CMake Error at src/CMakeLists.txt:38 (swig_add_library):
  Unknown CMake command "swig_add_library".


-- Configuring incomplete, errors occurred!

On my personal laptop and on JULIA everything works fine. @fgoth any idea how this can be fixed?