diff --git a/4diac-forte.spec b/4diac-forte.spec index 8363eef..453dab8 100644 --- a/4diac-forte.spec +++ b/4diac-forte.spec @@ -22,6 +22,10 @@ BuildRequires: open62541-devel >= 0.2 BuildRequires: lua-devel >= 5.1 %endif +%if 0%{?with_luajit} +BuildRequires: luajit-devel >= 2.1.0 +%endif + %description The 4DIAC runtime environment (4DIAC-RTE, FORTE) is a small portable implementation of an IEC 61499 runtime environment targeting small @@ -45,6 +49,7 @@ cd bin/posix %{?with_sysfs: -DFORTE_MODULE_SysFs=ON } \ -DFORTE_MODULE_UTILS=ON \ %{?with_lua: -DFORTE_USE_LUATYPES=Lua } \ + %{?with_luajit: -DFORTE_USE_LUATYPES=LuaJIT } \ -DFORTE_TESTS=OFF \ ../.. make %{?_smp_mflags}