mirror of
https://github.com/amd/blis.git
synced 2026-04-21 16:18:51 +00:00
Renaming CMAKE_SOURCE_DIR to PROJECT_SOURCE_DIR so that BLIS can be built properly via FetchContent() (#65)
This commit is contained in:
committed by
GitHub
parent
563b161933
commit
1f8a7d2218
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user