Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Turn off VS.NET stupid warnings.
  • Loading branch information
icculus committed Mar 17, 2008
1 parent 26766c4 commit ef69122
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -61,6 +61,11 @@ ENDIF(CMAKE_COMPILER_IS_GNUCC)
ADD_DEFINITIONS(-D_setjmp=setjmp)
ADD_DEFINITIONS(-D_longjmp=longjmp)

IF(MSVC)
# VS.NET 8.0 got really really anal about strcpy, etc.
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS=1)
ENDIF(MSVC)

SET(TOBY_HAVE_GUI FALSE)

OPTION(TOBY_GUI_WXWIDGETS "Build wxWidgets GUI(s)" TRUE)
Expand Down

0 comments on commit ef69122

Please sign in to comment.