Browse Source

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
tags/v0.3.24
Martin Kroeker GitHub 2 years ago
parent
commit
e2779c852f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      CMakeLists.txt

+ 7
- 1
CMakeLists.txt View File

@@ -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…
Cancel
Save