MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015756 | CMake | Modules | public | 2015-09-21 17:15 | 2016-06-10 14:31 |
Reporter | jazztickets | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | linux | OS | arch linux | OS Version | arch linux |
Product Version | CMake 3.3.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015756: FindLua.cmake doesn't work when both Lua5.2 and Lua5.3 are installed. | ||||
Description | If you call find_package(Lua 5.2 REQUIRED) or find_package(Lua REQUIRED) this happens: Found Lua: /usr/lib64/liblua5.2.so;/usr/lib64/libm.so (found suitable version "5.3.1", minimum required is "5.2") Basically the 5.2 library is found but it still uses the 5.3 include path, hence the wrong "suitable version": CMakeCache.txt LUA_INCLUDE_DIR:PATH=/usr/include LUA_LIBRARY:FILEPATH=/usr/lib64/liblua5.2.so Calling find_package(Lua 5.3 REQUIRED) works fine though. | ||||
Steps To Reproduce | |||||
Additional Information | lua5.3 is installed to /usr/include lua5.2 is installed to /usr/include/lua5.2 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 0001-FindLua-works-with-several-lua-installed.patch (6,335) 2015-12-27 17:37 https://public.kitware.com/Bug/file/5597/0001-FindLua-works-with-several-lua-installed.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-09-21 17:15 | jazztickets | New Issue | |||
2015-12-27 17:37 | fft | File Added: 0001-FindLua-works-with-several-lua-installed.patch | |||
2015-12-27 17:47 | fft | Note Added: 0040029 | |||
2016-05-09 09:37 | Brad King | Note Added: 0041037 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042843 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|