Skip to content

Commit

Permalink
Add /bigobj compile option
Browse files Browse the repository at this point in the history
Fix #171
  • Loading branch information
lrapetti committed Jan 31, 2020
1 parent fd6392a commit 84f5fb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions publishers/HumanStatePublisher/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ target_link_libraries(HumanStatePublisher PUBLIC
iDynTree::idyntree-model
iDynTree::idyntree-inverse-kinematics
iDynTree::idyntree-high-level)

if(MSVC)
target_compile_options(HumanStatePublisher PRIVATE /bigobj)
endif()

yarp_install(
TARGETS HumanStatePublisher
Expand Down

0 comments on commit 84f5fb0

Please sign in to comment.