Skip to content

Commit

Permalink
Fixed error while compling Lua under Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubiquitatis committed Nov 30, 2011
1 parent 34c0b59 commit 9ff8d7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dep/lua/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,6 @@ ADD_LIBRARY( "${TARGET_NAME}"
SET( ${TARGET_NAME}_INCLUDE_DIR "${TARGET_INCLUDE_DIR}" PARENT_SCOPE )

# Disable safety warnings because this is a C library
ADD_DEFINITIONS(/D _CRT_SECURE_NO_WARNINGS)
IF (WIN32)
ADD_DEFINITIONS(/D _CRT_SECURE_NO_WARNINGS)
ENDIF (WIN32)

0 comments on commit 9ff8d7f

Please sign in to comment.