openmw-tes3coop/cmake/FindLuaJit.cmake
2018-07-05 19:21:53 +08:00

13 lines
No EOL
246 B
CMake

# Once found, defines:
# LuaJit_FOUND
# LuaJit_INCLUDE_DIRS
# LuaJit_LIBRARIES
include(LibFindMacros)
libfind_pkg_detect(LuaJit luajit
FIND_PATH luajit.h
FIND_LIBRARY NAMES luajit-5.1 luajit
)
libfind_process(LuaJit)