Re: [cmake-developers] Modules/FindLua51.cmake: lua5.1 include path seems wrong

2014-06-09 Thread Rolf Eike Beer
Am Montag, 9. Juni 2014, 10:00:35 schrieben Sie: > On 06/08/2014 09:12 AM, o.k...@gmx.de wrote: > > I deleted the additional "include/" in FindLua51.cmake and it worked. > > I think that is the correct fix. I do not know why they were there > in the first place. They appear in FindLua50, FindLua

Re: [cmake-developers] Modules/FindLua51.cmake: lua5.1 include path seems wrong

2014-06-09 Thread Brad King
On 06/08/2014 09:12 AM, o.k...@gmx.de wrote: > I deleted the additional "include/" in FindLua51.cmake and it worked. I think that is the correct fix. I do not know why they were there in the first place. They appear in FindLua50, FindLua51, and the version-agnostic FindLua module. Eike, did you

[cmake-developers] Modules/FindLua51.cmake: lua5.1 include path seems wrong

2014-06-08 Thread o . kurz
Hello, I observed a problem trying to build a CMake based project using lua5.1 on a system where both lua5.1 and lua5.2 are present (Linux Arch). It seems, "Modules/FindLua51.cmake" causes the header for lua5.2 to be found but the lib for version 5.1 causing obvious problems when trying to link. U

[cmake-developers] Modules/FindLua51.cmake: lua5.1 include path seems wrong

2014-06-08 Thread o . kurz
Hello, I observed a problem trying to build a CMake based project using lua5.1 on a system where both lua5.1 and lua5.2 are present (Linux Arch). It seems, "Modules/FindLua51.cmake" causes the header for lua5.2 to be found but the lib for version 5.1 causing obvious problems when trying to link. U