From e205995d89d85227168a65783f51a807a6183de2 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 9 Mar 2015 09:33:25 +0100 Subject: [PATCH] Do not search for libiconv on Windows when building with CMake. --- coreapi/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coreapi/CMakeLists.txt b/coreapi/CMakeLists.txt index fc59af95e..2baada846 100644 --- a/coreapi/CMakeLists.txt +++ b/coreapi/CMakeLists.txt @@ -25,7 +25,9 @@ if(MSVC) find_library(LIBMINGWEX NAMES mingwex) endif() -find_package(Iconv) +if(NOT WIN32) + find_package(Iconv) +endif() set(SOURCE_FILES