diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in index 2310acf0..edff7d14 100644 --- a/cmake/Config.cmake.in +++ b/cmake/Config.cmake.in @@ -17,6 +17,9 @@ if ("Bin" IN_LIST ${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS) endif() if ("Lib" IN_LIST ${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS) + # Setting FOUND_LIBATOMIC is needed on debian & ubuntu systems to work around bug in + # their capnproto packages. See compat_find.cmake for a more complete explanation. + set(FOUND_LIBATOMIC TRUE) include(CMakeFindDependencyMacro) find_dependency(CapnProto) endif()