CMake: use BUILD_WITHOUT_LAPACK

This commit is contained in:
xoviat 2018-01-27 15:04:03 -06:00
parent 8600a80a6f
commit 776d675b68
1 changed files with 1 additions and 1 deletions

View File

@ -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)