mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Avoid warnings about redefining LUA_USE_WINDOWS
This commit is contained in:
parent
0b55dcdb3a
commit
d1ea2eaff1
3
third_party/CMakeLists.txt
vendored
3
third_party/CMakeLists.txt
vendored
@ -197,7 +197,8 @@ if(ENABLE_SCRIPTING)
|
||||
lua/lutf8lib.c)
|
||||
|
||||
if(WIN32)
|
||||
target_compile_definitions(lua PUBLIC LUA_USE_WINDOWS=1)
|
||||
# LUA_USE_WINDOWS is defined in luaconf.h when we compile with _WIN32
|
||||
#target_compile_definitions(lua PUBLIC LUA_USE_WINDOWS=1)
|
||||
elseif(APPLE)
|
||||
target_compile_definitions(lua PUBLIC LUA_USE_MACOSX=1)
|
||||
elseif(UNIX)
|
||||
|
Loading…
Reference in New Issue
Block a user