X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/backend/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ else()
endif()
endif()

if(LAPACK_FOUND OR MKL_Shared_FOUND)
if(LAPACK_FOUND OR (USE_CPU_MKL AND MKL_Shared_FOUND))
target_compile_definitions(afcpu
PRIVATE
WITH_LINEAR_ALGEBRA)
Expand Down
2 changes: 1 addition & 1 deletion src/backend/opencl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ if(APPLE)
target_link_libraries(afopencl PRIVATE OpenGL::GL)
endif()

if(LAPACK_FOUND OR MKL_Shared_FOUND)
if(LAPACK_FOUND OR (USE_OPENCL_MKL AND MKL_Shared_FOUND))
target_sources(afopencl
PRIVATE
magma/gebrd.cpp
Expand Down
X Tutup