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