|
From: James T. <ja...@fl...> - 2025-08-21 08:24:29
|
> On 20 Aug 2025, at 20:23, bo23--- via Flightgear-devel <fli...@li...> wrote: > > diff --git a/CMakeLists.txt b/CMakeLists.txt > index 9b9219edc..ef548413c 100644 > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -35,6 +35,8 @@ if(COMMAND cmake_policy) > # Allows passing -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON > cmake_policy(SET CMP0069 NEW) > > + cmake_policy(SET CMP0072 OLD) > + > > #### FlightGear: macOS: set RPATH policy > cmake_policy(SET CMP0042 NEW) Keep in mind we’re intending to remove the policy setting, and therefore use the NEW behaviour: as Scott said, the correct fix is to disable building OSG examples and applications, until someone updates our OSG to have those build correctly with libOpenGL. https://gitlab.com/flightgear/flightgear/-/merge_requests/254 Remove OpenGL_GL_PREFERENCE (the default is appropriate). (!254) · Merge requests · FlightGear Flight Simulator / flightgear · GitLab gitlab.com Kind regards, James |