diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-02-11 13:49:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-02-11 13:49:41 +0000 |
commit | 3447d02974947d10440e4aa5627318c29be95c01 (patch) | |
tree | 60ab583b25a2874a4ef8734fc357c14f3bffebca /utils/CMakeLists.txt | |
parent | 86d5757be30d1d696b85cbc22e471158b9a19090 (diff) | |
parent | 3c9836d46747358fa73e0eb818d95b7907967cb2 (diff) |
Merge "[HICN-47] Remove warnings utils on windows"
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r-- | utils/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 077789f57..5cdfbb50f 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -42,6 +42,9 @@ list(APPEND UTILS_SRC src/ping_server.cc ) +if (WIN32) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4200 /wd4996") +endif () foreach(util ${UTILS_SRC}) get_filename_component(_util_name ${util} NAME) string(REGEX REPLACE ".cc" "" util_name ${_util_name}) |