Re: [hatari-devel] Re: Hatari SCSI Driver patch |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Re: Hatari SCSI Driver patch
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Sun, 18 Oct 2015 14:02:21 -0600 (MDT)
- Cc: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=telus.net; s=neo; t=1445198542; bh=KSddnP8oIr07Nl0NkNshTTn0dQrRvcIyvFYLFiaOtw0=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding; b=MD0AKumBIi71uBo2H/WaOg/ukGGe8zyogDWX3zXuyq3oyHqey194YHcGIhepHdO1x Pb2/FYfHjLeKoLPr6J/aAE4a5XZAGJ3h0WsMlKPl9ZxcLdGqtmUV9GR06aw5nuDgLF /sBG+T2S/xcJrObu25dVuWNNGA0/wfL2aXAHxbEy1mKyq1EZPIM/fJfuVg0IRYFO8/ MqYT1K4Mo84ywpR9kvC2WUcaYRD57HpdaCK5zAQKVeRXthow0jd1CuOCl2niJZfax/ UhyKODD+tz0tNrM7dxRbjKa2pxUy06CZp8+c5/DQKWiEDJAZN6V6TXwGTAgF3woTlP Pr4yys4A+BJaA==
- Thread-index: pTgtoUI+jje9ntvg6joS3hhWQmPelw==
- Thread-topic: Hatari SCSI Driver patch
----- Eero Tamminen wrote:
> Hi,
>
> lauantai 17 lokakuu 2015 10:22:14 Uwe Seimet kirjoitti:
> > In order to finalize the media change detection code I will have to use
> > libudev. How do can I correctly tell cmake to link against libudev? As a
> > work-around I have modified CMakeCache.txt like this:
> >
> > CMakeCache.txt:SDL2_LIBRARY:STRING=/usr/lib64/libSDL2main.a;/usr/lib64/lib
> > SDL2.so;-lpthread;-ludev
> >
> > But CMakeCache.txt is a generated file, so the right solution must be a
> > change in a cmake-related file. Can you please help me with this?
>
> For examples on how to do that, see CMakeLists.txt and cmake/Find*.cmake
> files.
>
> Note that you need also to have check for include file, not just library.
>
> (Depending on distro it may be possible that some library dev packages
> install their own CMake files to the CMake system directories.)
>
> I'm not really *that* familiar with CMake, so I put CC on list too.
>
>
> - Eero
Hi,
I'm concerned that libudev is an additional (not fully portable)
dependency for Hatari.
Maybe there should be some discussion.
Sincerely,
David Savinkoff