Skip to content

Commit 7949204

Browse files
committed
Remove dead CMake logic
1 parent 8bbd1d4 commit 7949204

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -691,11 +691,7 @@ if(ENABLE_MLALGO OR DEFINED Torch_DIR)
691691
set_if_higher(CMAKE_CXX_STANDARD 14)
692692
endif()
693693
include_directories(${TORCH_INCLUDE_DIRS})
694-
if(MKL_FOUND)
695-
list(PREPEND math_libs ${TORCH_LIBRARIES})
696-
else()
697-
list(APPEND math_libs ${TORCH_LIBRARIES})
698-
endif()
694+
list(APPEND math_libs ${TORCH_LIBRARIES})
699695
add_compile_options(${TORCH_CXX_FLAGS})
700696
endif()
701697

0 commit comments

Comments
 (0)