forked from speed-dreams/speed-dreams-code
- Update cmakelists OSG
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6210 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 8576920b34715aaaa54f0f0fec3cfa6f927a9dd1 Former-commit-id: 1d65b0ac98e57526f179b75afa8f649fc5004724
This commit is contained in:
parent
4d6cd6df38
commit
680ffba0c9
1 changed files with 5 additions and 2 deletions
|
@ -110,7 +110,10 @@ ENDIF(WIN32)
|
|||
|
||||
IF(MSVC)
|
||||
# Ignore some run-time libs to avoid link time warnings and sometimes even crashes.
|
||||
SET(CMAKE_MODULE_LINKER_FLAGS_DEBUG "${CMAKE_MODULE_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:msvcrt.lib")
|
||||
SET(CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
"${CMAKE_MODULE_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:libcmtd.lib")
|
||||
SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
"${CMAKE_MODULE_LINKER_FLAGS_RELEASE} /NODEFAULTLIB:libcmt.lib")
|
||||
ENDIF(MSVC)
|
||||
|
||||
# Note: Other sources and headers needed for having them available in IDEs.
|
||||
|
|
Loading…
Reference in a new issue