Commit 25006067 authored by Jan Möbius's avatar Jan Möbius

Build with variadic max of 10 on VS 2012

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@921 fdac6126-5c0c-442c-9429-916003d36597
parent ef1727f2
......@@ -21,6 +21,11 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
include_directories(${GTEST_INCLUDE_DIRS})
# set additional link directories
link_directories(${GTEST_LIBRARY_DIR} )
if ( CMAKE_GENERATOR MATCHES "^Visual Studio 11.*" )
add_definitions( /D _VARIADIC_MAX=10 )
endif()
# Create new target named unittests_hexmeshing
add_executable(unittests unittests.cc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment