diff --git a/modules/cblas.cmake b/modules/cblas.cmake index 1a971bf..ad980ed 100644 --- a/modules/cblas.cmake +++ b/modules/cblas.cmake @@ -35,11 +35,11 @@ if(ENABLE_CBLAS) endif() if(APPLE) - _find_include_dir(Accelerate/Accelerate.h /usr CBLAS_INCLUDE_DIR) _find_library(Accelerate cblas_dgemm CBLAS_LIBRARIES) + _find_include_dir(Accelerate/Accelerate.h /usr CBLAS_INCLUDE_DIR) else() - _find_include_dir(cblas.h /usr CBLAS_INCLUDE_DIR) _find_library(cblas cblas_dgemm CBLAS_LIBRARIES) + _find_include_dir(cblas.h /usr CBLAS_INCLUDE_DIR) endif() if(NOT "${CBLAS_LIBRARIES}" STREQUAL "undefined") diff --git a/update.py b/update.py index c3964df..42ace01 100644 --- a/update.py +++ b/update.py @@ -213,6 +213,7 @@ def gen_cmakelists(project_name, min_cmake_version, relative_path, modules): module_paths = set([module.path for module in modules]) module_paths = list(module_paths) + module_paths.append('downloaded') # this is done to be able to find fetched modules when testing module_paths.sort() # we do this to always get the same order and to minimize diffs for directory in module_paths: rel_cmake_module_path = os.path.join(relative_path, directory)