Commit 4d2e3603 authored by DailyShana's avatar DailyShana

cmake: make lua as a dependency explicitly

parent 0594cc3b
......@@ -10,3 +10,9 @@ else ()
endif ()
add_library (ocgcore STATIC ${AUTO_FILES_RESULT})
if (MSVC)
target_link_libraries (ocgcore lua)
else ()
target_link_libraries (ocgcore ${LUA_LIBRARIES})
endif ()
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