Commit c65256d2 authored by Vicent Marti's avatar Vicent Marti

lua: Only build if LuaJIT is available

parent b1472950
find_package(LuaJIT)
find_program(LUAJIT luajit)
if (LUAJIT_LIBRARIES)
find_program(LUAJIT luajit)
if (LUAJIT_LIBRARIES AND LUAJIT)
FILE(GLOB_RECURSE SRC_LUA ${CMAKE_CURRENT_SOURCE_DIR}/bcc/*/*.lua)
ADD_CUSTOM_COMMAND(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment