فهرست منبع

FindBLAS: simplify if()

Rolf Eike Beer 8 سال پیش
والد
کامیت
c095e2ad54
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      Modules/FindBLAS.cmake

+ 1 - 2
Modules/FindBLAS.cmake

@@ -661,8 +661,7 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All")
 
   foreach (IT ${BLAS_SEARCH_LIBS})
     string(REPLACE " " ";" SEARCH_LIBS ${IT})
-    if (${_LIBRARIES})
-    else ()
+    if (NOT ${_LIBRARIES})
       check_fortran_libraries(
         ${_LIBRARIES}
         BLAS