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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user