Skip to content

Commit 519c8ca

Browse files
committed
Fix compiling with LuaJIT in Windows.
1 parent d042495 commit 519c8ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ endif ()
1616

1717
### Dependencies
1818
find_package (LuaJIT)
19-
if (LUAJIT_INCLUDE_DIR)
19+
if (LUAJIT_FOUND)
2020
set(LUA_INCLUDE_DIR ${LUAJIT_INCLUDE_DIR})
21-
set(LUA_LIBRARIES ${LUAJIT_LIBRARIES})
21+
set(LUA_LIBRARIES ${LUAJIT_LIBRARY})
2222
else ()
2323
find_package (Lua 5.1 REQUIRED)
2424
endif ()

0 commit comments

Comments
 (0)