Renaming CMAKE_SOURCE_DIR to PROJECT_SOURCE_DIR so that BLIS can be built properly via FetchContent() (#65)

This commit is contained in:
Vlachopoulou, Eleni
2025-08-07 15:51:59 +01:00
committed by GitHub
parent 563b161933
commit 1f8a7d2218
19 changed files with 68 additions and 68 deletions

View File

@@ -116,7 +116,7 @@ set(ATLAS_LIB ${ATLAS_LIB} ${F77BLAS_LIB})
# Include the corresponding make_defs.cmake that holds the required compiler options.
include(${CMAKE_SOURCE_DIR}/config/${BLIS_CONFIG_FAMILY}/make_defs.cmake)
include(${PROJECT_SOURCE_DIR}/config/${BLIS_CONFIG_FAMILY}/make_defs.cmake)
# Gather all local source files.
file(GLOB file_list LIST_DIRECTORIES false RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/" "*.c")