Re: [pcre-dev] CMake Error: File pcre.h.generic does not exi…

Top Page
Delete this message
Author: Sheri
Date:  
To: Tim Gerundt
CC: pcre-dev
Subject: Re: [pcre-dev] CMake Error: File pcre.h.generic does not exist
Tim Gerundt wrote:
> Hello list,
>
> I tried to configure PCRE with CMake under Windows XP and got the
> following error: "CMake Error: File pcre.h.generic does not exist."
>
> The file NON-UNIX-USE talks also from pcre.h.generic ("Copy or rename
> the file pcre.h.generic as pcre.h.") but I don't find the file. But
> there are the file "pcre.h.in"!
>
> If I change "pcre.h.generic" to "pcre.h.in" in CMakeLists.txt
> everything works fine!
>
> Is this a bug, or do I something wrong?
>
> Greetings,
> Tim Gerundt

Probably you were not pointing at the (unaltered) source directory as
source.

The .in file lacks the pcre version info.