Skip to content

Commit e4cf55c

Browse files
committed
Update CMakeLists
1 parent 98fe67d commit e4cf55c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ option(ENABLE_RAPIDJSON "Enable rapid-json usage." OFF)
3939
option(ENABLE_CNPY "Enable cnpy usage." OFF)
4040
option(ENABLE_PEXSI "Enable support for PEXSI." OFF)
4141
option(ENABLE_CUSOLVERMP "Enable cusolvermp." OFF)
42-
option(ENABLE_DSP "Enable DSP usage." OFF)
42+
option(USE_DSP "Enable DSP usage." OFF)
4343

4444
# enable json support
4545
if(ENABLE_RAPIDJSON)
@@ -248,7 +248,7 @@ if(ENABLE_MPI)
248248
endif()
249249

250250
if (USE_DSP)
251-
target_link_libraries(${ABACUS_BIN_NAME} DIR_MTBLAS_LIBRARY)
251+
target_link_libraries(${ABACUS_BIN_NAME} ${DIR_MTBLAS_LIBRARY})
252252
endif()
253253

254254
find_package(Threads REQUIRED)

0 commit comments

Comments
 (0)