Skip to content
Snippets Groups Projects
Commit 4cd78aef authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Skipped CUDA mesh tests when CUDA < 9

parent 7d5dcf8a
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@ TARGET_LINK_LIBRARIES( BoundaryTagsTest
${GTEST_BOTH_LIBRARIES}
tnl )
if( BUILD_CUDA )
# Mesh cannot be compiled by nvcc < 9 due to bugs in the compiler
if( ${BUILD_CUDA} AND ${CUDA_VERSION_MAJOR} GREATER_EQUAL 9 )
CUDA_ADD_EXECUTABLE( MeshTest MeshTest.cu
OPTIONS ${CXX_TESTS_FLAGS} )
TARGET_LINK_LIBRARIES( MeshTest
......@@ -58,7 +59,8 @@ ADD_TEST( MeshEntityTest ${EXECUTABLE_OUTPUT_PATH}/MeshEntityTest${CMAKE_EXECUTA
# SET( VTK_COMMON_LIBRARIES vtkCommonCore ; vtkIOLegacy )
#endif( VTK_FOUND )
if( BUILD_CUDA )
# Mesh cannot be compiled by nvcc < 9 due to bugs in the compiler
if( ${BUILD_CUDA} AND ${CUDA_VERSION_MAJOR} GREATER_EQUAL 9 )
CUDA_ADD_EXECUTABLE( MeshReaderTest MeshReaderTest.cu
OPTIONS ${CXX_TESTS_FLAGS} )
TARGET_LINK_LIBRARIES( MeshReaderTest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment