Use the acg macro to add the unittests to make sure flags are passed through (e.g. to enable c++11)

closes #2500



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1287 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2015-06-16 09:39:12 +00:00
parent 9267b4a423
commit d94290c0fe

View File

@@ -28,7 +28,7 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
# Create new target named unittests_hexmeshing # Create new target named unittests_hexmeshing
FILE(GLOB UNITTEST_SRC *.cc) FILE(GLOB UNITTEST_SRC *.cc)
add_executable(unittests ${UNITTEST_SRC}) acg_add_executable(unittests ${UNITTEST_SRC})
if ( NOT WIN32) if ( NOT WIN32)
# Link against all necessary libraries # Link against all necessary libraries