I'm trying to update our FreeBSD port for Ladybird to 1d9c404. Unfortunately, the build fails during configuration:
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.
CMake Warning (dev) in CMakeLists.txt:
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is Clang 18.1.6
-- The CXX compiler identification is Clang 18.1.6
-- 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
CMake Error at WebContent/CMakeLists.txt:1 (include):
include could not find requested file:
fontconfig
CMake Error at WebWorker/CMakeLists.txt:1 (include):
include could not find requested file:
fontconfig
CMake Error at cmake/InstallRules.cmake:36 (include):
include could not find requested file:
/Meta/Lagom/get_linked_lagom_libraries.cmake
Call Stack (most recent call first):
CMakeLists.txt:159 (include)
CMake Error at cmake/InstallRules.cmake:38 (get_linked_lagom_libraries):
Unknown CMake command "get_linked_lagom_libraries".
Call Stack (most recent call first):
CMakeLists.txt:159 (include)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.30)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
I have no idea what the problem is. Fontconfig seems to be installed and I'm not good enough with cmake to say for sure what the right course of action is.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too