Skip to content

Commit

Permalink
Try fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochet2 authored Jan 3, 2020
1 parent f31d3e3 commit b6e3ed3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lualib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit b6e3ed3

Please sign in to comment.