--- CMakeLists.txt	2025-11-25 15:12:33.000000000 +0800
+++ CMakeLists.txt	2026-02-05 22:35:59.000000000 +0800
@@ -63,7 +63,7 @@
 string(FIND ${CMAKE_HOST_SYSTEM_PROCESSOR} "armv" IS_LINUX_ARMV)
 if("${CMAKE_HOST_SYSTEM_PROCESSOR}" STREQUAL "aarch64" OR "${IS_LINUX_ARMV}" GREATER_EQUAL 0
   OR "${CMAKE_OSX_ARCHITECTURES}" STREQUAL "ppc")
-  target_link_libraries(phosg atomic)
+  target_link_libraries(phosg PUBLIC atomic)
 endif()
 
 add_executable(bindiff src/BinDiff.cc)
