# building cmb on debian with cmake and ninja

**URL:** https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507
**Category:** Build & Install
**Created:** [May 31, 2025, 8:17am UTC](https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507 "2025-05-31T08:17:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yedigei](https://discourse.kitware.com/user_avatar/discourse.kitware.com/yedigei/32/1097_2.png) [@yedigei](https://discourse.kitware.com/u/yedigei)
#### Post date: [May 31, 2025, 8:17am UTC](https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507/1 "2025-05-31T08:17:42Z")

</div>

I used to follow the instructions in  
[https://gitlab.kitware.com/cmb/cmb-superbuild](https://gitlab.kitware.com/cmb/cmb-superbuild)  
but both ccmake and make-gui fall on configuration with errors.  
Here’s the output of ccmake

```auto
Building projects: cmb, cmbusersguide, pybind11, qt5, smtk, smtkprojectmanager,
�smtkresourcemanagerstate
�CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:129 (_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:1106 (_superbuild_ExternalProject_add)
���superbuild/cmake/SuperbuildMacros.cmake:895 (_superbuild_add_project_internal)
���superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)

�CMake Warning (dev) at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:2545 (message):
���Policy CMP0114 is not set: ExternalProject step targets fully adopt their
���steps. Run "cmake --help-policy CMP0114" for policy details. Use the
���cmake_policy command to set the policy and suppress this warning.

���ExternalProject 'developer-cmb' option INDEPENDENT_STEP_TARGETS is set to

�����download;update

���but the option is deprecated in favor of policy CMP0114.
�Call Stack (most recent call first):

Configure failed with the following output                                                            
��������������������������������������������������������������������������������� CMake Version 3.25.1
Press [e] to exit screen

���/usr/share/cmake-3.25/Modules/ExternalProject.cmake:2634 (ExternalProject_Add_Step)
���/usr/share/cmake-3.25/Modules/ExternalProject.cmake:4184 (_ep_add_mkdir_command)
���superbuild/cmake/SuperbuildMacros.cmake:937 (ExternalProject_add)
���superbuild/cmake/SuperbuildMacros.cmake:1190 (_superbuild_add_dummy_project_internal)
���superbuild/cmake/SuperbuildMacros.cmake:901 (_superbuild_write_developer_mode_cache)
���superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)  
�This warning is for project developers. Use -Wno-dev to suppress it.
�CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:129 (_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:1106 (_superbuild_ExternalProject_add)
���superbuild/cmake/SuperbuildMacros.cmake:895 (_superbuild_add_project_internal)
���superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)  

�CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:129 (_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:1106 (_superbuild_ExternalProject_add)
���superbuild/cmake/SuperbuildMacros.cmake:895 (_superbuild_add_project_internal)

Configure failed with the following output                                                            
��������������������������������������������������������������������������������� CMake Version 3.25.1
Press [e] to exit screen

   superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)

 CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:129 (_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:1106 (_superbuild_ExternalProject_add)
   superbuild/cmake/SuperbuildMacros.cmake:895 (_superbuild_add_project_internal)
   superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)

 CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:129 (_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:1106 (_superbuild_ExternalProject_add)
   superbuild/cmake/SuperbuildMacros.cmake:895 (_superbuild_add_project_internal)
   superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)

 CMake Warning (dev) at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:2545 (message):
���Policy CMP0114 is not set: ExternalProject step targets fully adopt their
���steps. Run "cmake --help-policy CMP0114" for policy details. Use the

Configure failed with the following output                                                            
��������������������������������������������������������������������������������� CMake Version 3.25.1
Press [e] to exit screen

���cmake_policy command to set the policy and suppress this warning.

���ExternalProject 'developer-smtk' option INDEPENDENT_STEP_TARGETS is set to

�����download;update

���but the option is deprecated in favor of policy CMP0114.
�Call Stack (most recent call first):
���/usr/share/cmake-3.25/Modules/ExternalProject.cmake:2634 (ExternalProject_Add_Step)
���/usr/share/cmake-3.25/Modules/ExternalProject.cmake:4184 (_ep_add_mkdir_command)
���superbuild/cmake/SuperbuildMacros.cmake:937 (ExternalProject_add)
���superbuild/cmake/SuperbuildMacros.cmake:1190 (_superbuild_add_dummy_project_internal)
���superbuild/cmake/SuperbuildMacros.cmake:901 (_superbuild_write_developer_mode_cache)
���superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)  
�This warning is for project developers. Use -Wno-dev to suppress it.
�CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:129 (_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:1106 (_superbuild_ExternalProject_add)
���superbuild/cmake/SuperbuildMacros.cmake:895 (_superbuild_add_project_internal)

Configure failed with the following output                                                            
��������������������������������������������������������������������������������� CMake Version 3.25.1
Press [e] to exit screen

���superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)  

�CMake Error at superbuild/cmake/SuperbuildExternalProject.cmake:129 (_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:1106 (_superbuild_ExternalProject_add)
���superbuild/cmake/SuperbuildMacros.cmake:895 (_superbuild_add_project_internal)
���superbuild/CMakeLists.txt:147 (superbuild_process_dependencies)  

�Configuring incomplete, errors occurred!
�See also "/home/ariel/builds/cmb-build/CMakeFiles/CMakeOutput.log".

Configure failed with the following output                                                            
��������������������������������������������������������������������������������� CMake Version 3.25.1
Press [e] to exit screen

```

What may i be doing wrong ?

---

<div class="post-metadata">

### Author: ![yedigei](https://discourse.kitware.com/user_avatar/discourse.kitware.com/yedigei/32/1097_2.png) [@yedigei](https://discourse.kitware.com/u/yedigei)
#### Post date: [June 4, 2025, 10:58am UTC](https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507/2 "2025-06-04T10:58:43Z")

</div>

Retried Using cmake 3.37.1  
The same problem was described in this issue.  
[https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/181](https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/181)
