chase / awrit

A full graphical web browser for Kitty terminal with mouse and keyboard support
Other
431 stars 14 forks source link

Will not build on Arch Linux with CMake 3.27.5 #26

Closed nebunebu closed 8 months ago

nebunebu commented 11 months ago
cmake 3.27.5
ninja 1.11.1
base-devel 1-1

I'm on arch and those are the equivalents to ninja-build and build-essentials.

$ cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -S . -B build

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.

CMake Error at CMakeLists.txt:39 (APPEND_PLATFORM_SOURCES):
  Unknown CMake command "APPEND_PLATFORM_SOURCES".

-- Configuring incomplete, errors occurred!
chase commented 11 months ago

Seems like there are some breakings changes in more recent versions of CMake. If you have time to submit a PR to fix the file in a way that works in older versions and your current version of CMake, that would be a huge help!

ralyodio commented 7 months ago

why is this marked as completed?

chase commented 7 months ago

@ralyodio The issue was stale. Are you having similar problems? If so, would you be willing to look into a solution?

ralyodio commented 7 months ago

i'll see if i can find somoene