Configuration error with cmake 3.20
Step to reproduce
- Crete a build folder (outside the source tree)
- Call `cmake <source_path>
error:
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of void*
-- Check size of void* - done
-- Found Git: /usr/bin/git (found version "2.31.0")
-- Determined source version for paraview: 5.9.0
-- Enabling cxx11 as requested.
-- Enabling nlohmannjson as requested.
-- Enabling paraview as requested.
-- Enabling pybind11 as requested.
-- Building projects: cxx11, nlohmannjson, paraview, pybind11
CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:144 (_ep_parse_arguments):
_ep_parse_arguments Function invoked with incorrect arguments for function
named: _ep_parse_arguments
Call Stack (most recent call first):
superbuild/cmake/SuperbuildMacros.cmake:1236 (_superbuild_ExternalProject_add)
superbuild/cmake/SuperbuildMacros.cmake:988 (_superbuild_add_project_internal)
superbuild/CMakeLists.txt:159 (superbuild_process_dependencies)
CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:144 (_ep_parse_arguments):
_ep_parse_arguments Function invoked with incorrect arguments for function
named: _ep_parse_arguments
Call Stack (most recent call first):
superbuild/cmake/SuperbuildMacros.cmake:1236 (_superbuild_ExternalProject_add)
superbuild/cmake/SuperbuildMacros.cmake:988 (_superbuild_add_project_internal)
superbuild/CMakeLists.txt:159 (superbuild_process_dependencies)
CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:144 (_ep_parse_arguments):
_ep_parse_arguments Function invoked with incorrect arguments for function
named: _ep_parse_arguments
Call Stack (most recent call first):
superbuild/cmake/SuperbuildMacros.cmake:1236 (_superbuild_ExternalProject_add)
superbuild/cmake/SuperbuildMacros.cmake:988 (_superbuild_add_project_internal)
superbuild/CMakeLists.txt:159 (superbuild_process_dependencies)
CMake Error at tests/paraview.test.cmake:78 (set_tests_properties):
set_tests_properties Can not find test to add properties to:
paraview-pvpython
Call Stack (most recent call first):
tests/paraview.test.cmake:92 (paraview_add_python_test)
tests/CMakeLists.txt:9 (include)
-- Configuring incomplete, errors occurred!
I can help investigate the issue.
FYI @ben.boeckel