vcpkg/ports/trantor/001-disable-werror.patch

14 lines
521 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54ad99f..7919b37 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,7 +55,7 @@ if(MSVC AND MSVC_VERSION GREATER_EQUAL 1914)
endif(MSVC AND MSVC_VERSION GREATER_EQUAL 1914)
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND CMAKE_CXX_COMPILER_ID MATCHES Clang|GNU)
- target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Werror)
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra)
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Haiku")