Skip to content

Commit 8930df5

Browse files
committed
Remove compilation flags
1 parent c6c30ce commit 8930df5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/torchcodec/_core/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ else()
1414
set(TORCHCODEC_WERROR_OPTION "-Werror")
1515
endif()
1616

17-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic ${TORCHCODEC_WERROR_OPTION} ${TORCH_CXX_FLAGS}")
17+
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic ${TORCHCODEC_WERROR_OPTION} ${TORCH_CXX_FLAGS}")
18+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCHCODEC_WERROR_OPTION} ${TORCH_CXX_FLAGS}")
1819

1920
function(make_torchcodec_sublibrary
2021
library_name

0 commit comments

Comments
 (0)