diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-02-10 13:34:22 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-02-10 14:23:51 +0100 |
commit | 1ac41cb08281bf5460dfea5fc40ff6f8e14873a1 (patch) | |
tree | 3926983e45afa7e805cca1429fc3452c57a5b6c3 /cmake | |
parent | 13ec18b4b3ec8455daad674a0c0e616885b83608 (diff) |
[HICN-49] Remove warnings hicn-light on windows
Change-Id: I106713c285ad5cc47cb5ae3aaf9c837685156e36
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/BuildMacros.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/Modules/BuildMacros.cmake b/cmake/Modules/BuildMacros.cmake index a1977f980..083380d8c 100644 --- a/cmake/Modules/BuildMacros.cmake +++ b/cmake/Modules/BuildMacros.cmake @@ -82,7 +82,11 @@ macro(build_library lib) endif() foreach(library ${TARGET_LIBS}) - target_compile_options(${library} PRIVATE -Wall) + if (NOT WIN32) + target_compile_options(${library} PRIVATE -Wall) + else () + target_compile_options(${library} PRIVATE) + endif () if(HICN_VERSION) set_target_properties(${library} |