blob: 3a335ead01e5b0dcf084cb97445969e94a472c2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 466ba82..7b9e7b3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,7 +78,7 @@ if (BUILD_BIN)
${LUA_DIR}/linit.c
)
add_library(lua STATIC ${LUA_SRC})
- target_compile_definitions(lua PRIVATE LUA_COMPAT_5_2)
+ target_compile_definitions(lua PRIVATE LUA_USE_POSIX)
target_include_directories(lua INTERFACE ${LUA_DIR})
# Sol2
|