$ cmake ..
-- Building for: Ninja
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - 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: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version "1.8.0")
-- Checking for module 'cpputest>=3.8'
-- Package 'cpputest', required by 'virtual:world', not found
CMake Error at C:/msys64/mingw64/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
C:/msys64/mingw64/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
test/CMakeLists.txt:5 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "C:/msys64/home/Administrator/Collections-C/build/CMakeFiles/CMakeOutput.log".
Install mingw-w64-x86_64-cpputest if use MINGW64, mingw-w64-clang-x86_64-cpputest if use CLANG64. They said it's optional but without it configuration will fail. Now configuration done. But build failed.