Skip to content

v0.38

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Aug 20:45
rmlui: Fix CMake flag typo.

Building rmlui with `-DRML_LUA_BINDINGS` produces this error:

```
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
  Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindLua.cmake:341 (find_package_handle_standard_args)
  CMake/Dependencies.cmake:34 (find_package)
  CMakeLists.txt:120 (include)
```

Or this warning if CMake finds LuaJIT anyway:

```
CMake Warning:
  Manually-specified variables were not used by the project:

    RML_LUA_BINDINGS_LIBRARY
```

Specifying the full option `-DRMLUI_LUA_BINDING` fixes both.