fix CMakeList.txt in snddefault for build windows

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4826 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cbd86980aa1fc3e2d00560042771bacba7829fd1
Former-commit-id: b8a82509c6e48d7c377e9743e23ea917145faa59
This commit is contained in:
torcs-ng 2012-07-31 18:08:44 +00:00
parent f95e0f6f92
commit a17fb98a4d

View file

@ -19,7 +19,7 @@ ENDIF(COMMAND CMAKE_POLICY)
IF(WIN32)
# DLL export stuff under Windows (to avoid .def file)
ADD_DEFINITIONS(-DSNDEFAULT_DLL)
ADD_DEFINITIONS(-DSNDDEFAULT_DLL)
# Ignore some run-time libs to avoid link time warnings and sometimes even crashes.
SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:msvcrt.lib")