1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.12/package/libs/libpcap/patches/999-fix-compilation.patch

12 lines
436 B
Diff
Raw Normal View History

--- a/CMakeLists.txt 2024-10-08 08:04:55.220966217 +0200
+++ b/CMakeLists.txt 2024-10-08 08:09:03.593429433 +0200
@@ -350,7 +350,7 @@
if(NOT ${CMAKE_C_COMPILER} MATCHES "clang*")
set(C_ADDITIONAL_FLAGS "${C_ADDITIONAL_FLAGS} /utf-8")
endif(NOT ${CMAKE_C_COMPILER} MATCHES "clang*")
-else(MSVC)
+elseif(FALSE)
#
# For checking if a compiler flag works, failing if it doesn't,
# and adding it otherwise.