Skip to content
Snippets Groups Projects
Commit eca7fd67 authored by seanyen's avatar seanyen
Browse files

Fix MSVC compile errors

...\eigenpy\src\eigenpy.cpp : fatal error C1128:
number of sections exceeded object file format limit: compile with /bigobj
parent 72f57d87
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,7 @@ SET(${PROJECT_NAME}_SOURCES
ADD_LIBRARY(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SOURCES} ${${PROJECT_NAME}_HEADERS})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "${PROJECT_NAME}${PYTHON_SOABI}")
TARGET_COMPILE_OPTIONS(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj>)
TARGET_LINK_BOOST_PYTHON(${PROJECT_NAME})
PKG_CONFIG_USE_DEPENDENCY(${PROJECT_NAME} eigen3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment