aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/simonbrunel-qtpromise/patches/remove_error_flags.patch
blob: 8499cbcfdb16aa26094a4ca7c8b9d4f9b8e3e177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,7 @@ add_definitions(
     -DQT_NO_KEYWORDS
 )
 
+#[[ remove error flags
 # https://github.com/simonbrunel/qtpromise/issues/10
 if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
     # https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
@@ -83,8 +84,10 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
         /WX
     )
 endif()
+]]
 
 if(NOT SUBPROJECT)
     enable_testing()
     add_subdirectory(tests)
 endif()
+