Skip to content
Snippets Groups Projects
Commit 248fd9a9 authored by Patrik Huber's avatar Patrik Huber
Browse files

Added /bigobj to the examples on MSVC

Probably needed because OpenCV needs it, and we depend on OpenCV.
parent 3509234e
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,10 @@ else(Boost_FOUND)
message(FATAL_ERROR "Boost not found")
endif()
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
endif()
# Model fitting (affine cam & shape to landmarks) example:
add_executable(fit-model fit-model.cpp)
target_link_libraries(fit-model ${OpenCV_LIBS} ${Boost_LIBRARIES})
......
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