Do not build the tests when only the CBLAS interface is selected (#4041)
* Do not build the tests when only the CBLAS interface is selected
This commit is contained in:
parent
ccad94162a
commit
e2779c852f
|
@ -311,19 +311,25 @@ endif()
|
|||
|
||||
#if (MSVC OR NOT NOFORTRAN)
|
||||
if (NOT NO_CBLAS)
|
||||
if (NOT ONLY_CBLAS)
|
||||
# Broken without fortran on unix
|
||||
add_subdirectory(utest)
|
||||
add_subdirectory(utest)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT NOFORTRAN)
|
||||
if (NOT ONLY_CBLAS)
|
||||
# Build test and ctest
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
if (BUILD_TESTING)
|
||||
add_subdirectory(lapack-netlib/TESTING)
|
||||
endif()
|
||||
endif()
|
||||
if(NOT NO_CBLAS)
|
||||
if (NOT ONLY_CBLAS)
|
||||
add_subdirectory(ctest)
|
||||
endif()
|
||||
endif()
|
||||
if (CPP_THREAD_SAFETY_TEST OR CPP_THREAD_SAFETY_GEMV)
|
||||
add_subdirectory(cpp_thread_test)
|
||||
|
|
Loading…
Reference in New Issue