From 2ba6db73e9a319b665853d65682230be98dde8d9 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Wed, 13 Feb 2019 17:27:33 +0100 Subject: [HICN-61] Compile Error in libtransport in windows environment Change-Id: I25642a194996e449b91d492b22a379466c524940 Signed-off-by: Angelo Mantellini --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 973946c6f..ff8c87002 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,7 +82,9 @@ endif() set(LIBHICN_SHARED ${LIBHICN}.shared) set(LIBTRANSPORT_SHARED ${LIBTRANSPORT}.shared) -add_compile_options(-Wall -Werror) +if (NOT WIN32) + add_compile_options(-Wall -Werror) +endif () message(STATUS "Building the following subprojects: ${subdirs}") -- cgit 1.2.3-korg