]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
2 | index b2db532da..42c004380 100644 | |
3 | --- a/CMakeLists.txt | |
4 | +++ b/CMakeLists.txt | |
5 | @@ -112,6 +112,10 @@ SET ( RBDL_SOURCES | |
6 | src/Kinematics.cc | |
7 | ) | |
8 | ||
9 | +IF (MSVC) | |
10 | + SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") | |
11 | +ENDIF (MSVC) | |
12 | + | |
13 | IF (MSVC AND NOT RBDL_BUILD_STATIC) | |
14 | MESSAGE (FATAL_ERROR, "Compiling RBDL as a DLL currently not supported. Please enable RBDL_BUILD_STATIC.") | |
15 | ENDIF (MSVC AND NOT RBDL_BUILD_STATIC) |