Unverified Commit cd5a1247 authored by moto's avatar moto Committed by GitHub
Browse files

Add -Wall back (#1246)

parent 2c8aad97
...@@ -53,8 +53,8 @@ option(BUILD_PYTHON_EXTENSION "Build Python extension" OFF) ...@@ -53,8 +53,8 @@ option(BUILD_PYTHON_EXTENSION "Build Python extension" OFF)
find_package(Torch REQUIRED) find_package(Torch REQUIRED)
# Set -D_GLIBCXX_USE_CXX11_ABI for third party builds # TORCH_CXX_FLAGS contains the same -D_GLIBCXX_USE_CXX11_ABI value as PyTorch
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall ${TORCH_CXX_FLAGS}")
add_subdirectory(third_party) add_subdirectory(third_party)
add_subdirectory(torchaudio/csrc) add_subdirectory(torchaudio/csrc)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment