Commit 12e4d8e8 authored by Jan Möbius's avatar Jan Möbius
Browse files

Variadic max for ACG unittests

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17265 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 333a3b15
...@@ -104,6 +104,10 @@ if (GTEST_FOUND) ...@@ -104,6 +104,10 @@ if (GTEST_FOUND)
include_directories(${GTEST_INCLUDE_DIRS} ${OPENMESH_INCLUDE_DIR}) include_directories(${GTEST_INCLUDE_DIRS} ${OPENMESH_INCLUDE_DIR})
link_directories ( ${GTEST_LIBRARY_DIR}) link_directories ( ${GTEST_LIBRARY_DIR})
if ( CMAKE_GENERATOR MATCHES "^Visual Studio 11.*" )
add_definitions( /D _VARIADIC_MAX=10 )
endif()
add_executable (ACG_tests ${TEST_SOURCES}) add_executable (ACG_tests ${TEST_SOURCES})
set_target_properties(ACG_tests PROPERTIES set_target_properties(ACG_tests PROPERTIES
COMPILE_FLAGS "-UNDEBUG") COMPILE_FLAGS "-UNDEBUG")
......
Supports Markdown
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