1 parent 8bbd1d4 commit 7949204Copy full SHA for 7949204
1 file changed
CMakeLists.txt
@@ -691,11 +691,7 @@ if(ENABLE_MLALGO OR DEFINED Torch_DIR)
691
set_if_higher(CMAKE_CXX_STANDARD 14)
692
endif()
693
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()
+ list(APPEND math_libs ${TORCH_LIBRARIES})
699
add_compile_options(${TORCH_CXX_FLAGS})
700
701
0 commit comments