otland / forgottenserver

A free and open-source MMORPG server emulator written in C++
https://otland.net
GNU General Public License v2.0
1.58k stars 1.05k forks source link

Fix LuaJIT flag in CMake configuration #4711

Closed ranisalt closed 4 months ago

ranisalt commented 4 months ago

Pull Request Prelude

Changes Proposed

-DUSE_LUAJIT=ON is being used in the wrong step (build instead of configure) so the flag does not apply as expected.

It can be noticed in builds where CMake says

Unknown argument -DUSE_LUAJIT=on

image