Try fix warning

This commit is contained in:
Rochet2
2020-01-03 22:11:06 +02:00
committed by GitHub
parent f31d3e3dfe
commit b6e3ed364d

View File

@@ -26,3 +26,9 @@ target_include_directories(lualib
${PUBLIC_INCLUDES}
PRIVATE
${CMAKE_CURRENT_BINARY_DIR})
if (APPLE)
target_compile_definitions(lualib PUBLIC LUA_USE_MACOSX)
elseif (UNIX)
target_compile_definitions(lualib PUBLIC LUA_USE_LINUX)
endif()