From 122ced71a7075d9541476b4c655c9172c8c4b00d Mon Sep 17 00:00:00 2001 From: Vadim Grigoruk Date: Mon, 21 May 2018 13:58:38 +0300 Subject: [PATCH] fixed lua bug with 'atan' --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9c10b2..d90b8cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,8 @@ set(LUA_SRC add_library(lua STATIC ${LUA_SRC}) +target_compile_definitions(lua PRIVATE LUA_COMPAT_5_2) + ################################ # LPEG ################################