Unable to compile the game
$ cmake --fresh -DCMAKE_BUILD_TYPE=Debug -DSRB2_CONFIG_DEBUGMODE=0 -G Ninja -S ../main/ -B .
-- Downloading CPM.cmake to [...]/cmake-build/cmake/CPM_0.36.0.cmake
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- 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
-- CPM: adding package [email protected] (v3.4.0)
-- Performing Test HAVE_FLAG__ffile_prefix_map__cmake_build__deps_catch2_src__
-- Performing Test HAVE_FLAG__ffile_prefix_map__cmake_build__deps_catch2_src__ - Success
-- CPM: adding package [email protected] (v1.2)
CMake Deprecation Warning at [...]/cmake-build/_deps/ccache.cmake-src/CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- CPM: adding package [email protected] (0.6.3)
CMake Deprecation Warning at [...]/cmake-build/_deps/libgme-src/CMakeLists.txt:12 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
VGM/GYM: MAME YM2612 emulator will be used
** ZLib library located, compressed file formats will be supported
-- Found SDL2
** SDL 2 library located, player demo is available to be built in the /player directory
-- Found ZLIB: /usr/lib/libz.a (found version "1.2.13")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.40")
-- Found SDL2
-- Found SDL2_MIXER
-- Found CURL: /usr/lib/libcurl.so (found version "8.2.1")
-- Found OPENMPT
-- Target is 64-bit
-- Will make separate debug symbols in *.debug
-- Configuring done (10.6s)
CMake Error at src/CMakeLists.txt:3 (add_executable):
Cannot find source file:
d_clisrv.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at src/CMakeLists.txt:3 (add_executable):
No SOURCES given to target: SRB2SDL2
CMake Generate step failed. Build files cannot be regenerated correctly.