Skip to content

Commit

Permalink
Disable deprecation warnings on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMcAvoy committed Oct 8, 2024
1 parent d489747 commit 21cd994
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/lua-5.1.5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ add_library(lua51 STATIC ${LUA_SRC})

if (UNIX)
add_definitions(-DLUA_USE_MKSTEMP)
else()
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()

target_include_directories(lua51 PUBLIC src)

0 comments on commit 21cd994

Please sign in to comment.