Re: [hatari-devel] compilation failing for cigwin on cirrus CI

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Fri, Sep 15, 2023, 15:00 Nicolas Pomarède <npomarede@xxxxxxxxxxxx> wrote:
Hi

somewhere around libSDL2_2.0_0 went from 2.0.7-1 to 2.28.2-1 and since
then the compilation is failing for the cigwin version :

https://cirrus-ci.com/github/hatari/hatari

-- Configuring done
CMake Error at src/CMakeLists.txt:179 (target_link_libraries):
   Target "hatari" links to:
     SDL2::SDL2
   but the target was not found.  Possible reasons include:
     * There is a typo in the target name.
     * A find_package call is missing for an IMPORTED target..
     * An ALIAS target is missing.

I guess some files need to be updated to help cmake finding the library ?

My guess is that the new version of SDL wasn't built with cmake.






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/