Commit 7d3463e3 authored by mercury233's avatar mercury233

wtf fix

parent b2fe87f6
...@@ -5,14 +5,9 @@ project "ocgcore" ...@@ -5,14 +5,9 @@ project "ocgcore"
links { "lua" } links { "lua" }
if BUILD_LUA then if BUILD_LUA then
includedirs { "../lua" } includedirs { "../lua/src" }
end end
filter "action:vs*"
if not BUILD_LUA then
includedirs { "../lua" }
end
filter "not action:vs*" filter "not action:vs*"
buildoptions { "-std=c++14" } buildoptions { "-std=c++14" }
...@@ -21,12 +16,6 @@ project "ocgcore" ...@@ -21,12 +16,6 @@ project "ocgcore"
filter "system:macosx" filter "system:macosx"
defines { "LUA_USE_MACOSX" } defines { "LUA_USE_MACOSX" }
if not BUILD_LUA then
includedirs { "../lua" }
end
filter "system:linux" filter "system:linux"
defines { "LUA_USE_LINUX" } defines { "LUA_USE_LINUX" }
if not BUILD_LUA then
includedirs { "/usr/include/lua5.3" }
end
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