File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 11add_subdirectory (SRC)
2- if (BUILD_TESTING )
2+ if (${SCALAPACK_BUILD_TESTING} )
33 add_subdirectory (TESTING)
4- endif (BUILD_TESTING )
4+ endif ()
Original file line number Diff line number Diff line change @@ -243,7 +243,11 @@ else (UNIX) # Need to separate Fortran and C Code
243243 scalapack_install_library(scalapack)
244244 scalapack_install_library(scalapack-F)
245245endif (UNIX )
246- add_subdirectory (TESTING)
246+
247+ option (SCALAPACK_BUILD_TESTS "Build all tests of the ScaLAPACK library" ON )
248+ if (${SCALAPACK_BUILD_TESTS} )
249+ add_subdirectory (TESTING)
250+ endif ()
247251
248252# --------------------------------------------------
249253# CPACK Packaging
Original file line number Diff line number Diff line change 11add_subdirectory (SRC)
2- add_subdirectory (TESTING)
3- add_subdirectory (TIMING)
2+ if (${SCALAPACK_BUILD_TESTING} )
3+ add_subdirectory (TESTING)
4+ add_subdirectory (TIMING)
5+ endif ()
Original file line number Diff line number Diff line change 11add_subdirectory (SRC)
2- add_subdirectory (TESTING)
2+ if (${SCALAPACK_BUILD_TESTING} )
3+ add_subdirectory (TESTING)
4+ endif ()
You can’t perform that action at this time.
0 commit comments