kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #14819
Re: Build changes.
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxxxx>
-
Date:
Fri, 26 Sep 2014 21:12:23 -0400
-
Cc:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAD_CCVYRRrv4-dj3u=QRqZMXvYJq-q-hALU7AW+zjXb-_XLJPg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
On 9/26/2014 8:43 PM, Blair Bonnett wrote:
> On 27 September 2014 12:36, Wayne Stambaugh <stambaughw@xxxxxxxxxxx
> <mailto:stambaughw@xxxxxxxxxxx>> wrote:
>
>> I may have pulled trigger on this change too fast. If I remove
>
>> ${CMAKE_CURRENT_LIST_DIR} using CMake 2.8.12.2 on windows, I get the
>
>> same error you get with it. What version of CMake are you using? If
>
>> it's 3 or greater, I may have to copy FindPackageMessage.cmake and
>> CMakeParseArguments.cmake into the CMakeModules folder as well.
>
> CMake 3.0.2.
>
> Incidentally, revision 5150 still doesn't build on my machine -- you
> need to remove the .cmake extension on the includes. But it might be
> best to copy the new versions of those files into CMakeModules and
> restore the ${CMAKE_CURRENT_LIST_DIR}/. I can confirm doing this works
> for me so if it works with older versions of CMake thats probably the
> way to go.
>
> Blair
I copied the other two cmake files from 3.0.2 and it now works on
windows with cmake 2.8.12 and linux with cmake 3.0.2. I had to leave
${CMAKE_CURRENT_LIST_DIR}/ off the include statements to make it work
correctly on cmake 2.8.12. Sorry about the build issues. I appears
that there were some significant changes between CMake 2 and 3 that I
was unaware of.
Follow ups
References