Add not apple for iconv.

This commit is contained in:
K. S. Ernest (iFire) Lee 2021-11-17 09:25:36 -08:00
parent 0541a352cf
commit d9a2142be7
1 changed files with 2 additions and 0 deletions

View File

@ -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