diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f2cc51e21..a247bc864b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1226,6 +1226,7 @@ else() ext/libzip/zip_random_unix.c ) endif() + target_compile_definitions(libzip PRIVATE HAVE_STDBOOL_H) target_link_libraries(libzip) include_directories(ext/libzip) set(LIBZIP_LIBRARY libzip)