Skip to content

Commit 67afc23

Browse files
committed
Fix debian "libatomic not found" error in downstream builds
This is an extension of the workaround implemented previously in #119. That workaround let the libmultiprocess cmake build work with the debian capnproto package. This change extends the workaround to apply to downstream cmake builds that call find_package(Libmultiprocess), like Bitcoin Core. Fixes #132
1 parent 621a04a commit 67afc23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/Config.cmake.in

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ if ("Bin" IN_LIST ${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS)
1717
endif()
1818

1919
if ("Lib" IN_LIST ${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS)
20+
# Setting FOUND_LIBATOMIC is needed on debian & ubuntu systems to work around bug in
21+
# their capnproto packages. See compat_find.cmake for a more complete explanation.
22+
set(FOUND_LIBATOMIC TRUE)
2023
include(CMakeFindDependencyMacro)
2124
find_dependency(CapnProto)
2225
endif()

0 commit comments

Comments
 (0)