always add downloaded to module include paths
This commit is contained in:
parent
29ed57c546
commit
ea89ce9f0d
@ -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")
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user