We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5c190 commit 9f54d6bCopy full SHA for 9f54d6b
CMakeLists.txt
@@ -75,10 +75,7 @@ endif()
75
find_package(Torch REQUIRED)
76
77
if(USE_OPENMP)
78
- find_package(OpenMP)
79
- if (NOT OpenMP_CXX_FOUND)
80
- message(WARNING "OpenMP support is disabled.")
81
- endif()
+ find_package(OpenMP REQUIRED)
82
endif()
83
84
# TORCH_CXX_FLAGS contains the same -D_GLIBCXX_USE_CXX11_ABI value as PyTorch
0 commit comments