CMake: use BUILD_WITHOUT_LAPACK
This commit is contained in:
parent
8600a80a6f
commit
776d675b68
|
@ -191,7 +191,7 @@ if (MSVC OR NOT NOFORTRAN)
|
|||
add_subdirectory(utest)
|
||||
endif()
|
||||
|
||||
if (NOT NOFORTRAN)
|
||||
if ((NOT MSVC OR NOT BUILD_WITHOUT_LAPACK) AND NOT NOFORTRAN)
|
||||
# Build test and ctest
|
||||
add_subdirectory(test)
|
||||
if(NOT NO_CBLAS)
|
||||
|
|
Loading…
Reference in New Issue