The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15756 ====================================================================== Reported By: Alan Witkowski Assigned To: ====================================================================== Project: CMake Issue ID: 15756 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-09-21 15:15 MDT Last Modified: 2015-09-21 15:15 MDT ====================================================================== Summary: 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. Additional Information: lua5.3 is installed to /usr/include lua5.2 is installed to /usr/include/lua5.2 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-09-21 15:15 Alan Witkowski New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers