From d9a2142be7fc3b7ac790eda0cc2533a10b28b4d6 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Wed, 17 Nov 2021 09:25:36 -0800 Subject: [PATCH] Add not apple for iconv. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c297ffa..4602cdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,9 @@ list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_BINARY_DIR}") find_package(Boost 1.76 COMPONENTS system filesystem program_options REQUIRED ) find_package(ZLIB MODULE REQUIRED) find_package(fmt MODULE REQUIRED) +if(NOT APPLE) find_package(Iconv MODULE REQUIRED) +endif() find_package(LibXml2 MODULE REQUIRED) # create a compilation database for e.g. clang-tidy