Find BLAS package fails when option REQUIRED is set in find_package(LAPACKE) or CBLAS
See discussion in spm!7 (merged)
It is still an open issue in PaStiX where we also remove the 'REQUIRED' option (see comments in CMakeLists.txt)
Environment: MacOS High Sierra with MKL 2018.0.104
''' -- A cache variable, namely LAPACKE_DIR, has been set to specify the install directory of LAPACKE -- A cache variable, namely LAPACK_DIR, has been set to specify the install directory of LAPACK -- A cache variable, namely BLAS_DIR, has been set to specify the install directory of BLAS -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") CMake Error at /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) Call Stack (most recent call first): /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/FindOpenMP.cmake:442 (find_package_handle_standard_args) cmake_modules/morse_cmake/modules/find/FindBLAS.cmake:542 (find_package) cmake_modules/morse_cmake/modules/find/FindLAPACK.cmake:286 (find_package) cmake_modules/morse_cmake/modules/find/FindLAPACKE.cmake:117 (find_package) CMakeLists.txt:117 (find_package) '''