diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a5e36594..fa9d9aa0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,9 @@ macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source buil include(MacroAddPlugin) include(MacroCopyFile) -find_package(Iconv) +if (NOT WIN32) + find_package(Iconv) +endif (NOT WIN32) find_package(CMocka) if (CMOCKA_FOUND AND UNIT_TESTING) include(AddCMockaTest)