summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-28 13:08:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-07-28 13:08:40 (GMT)
commit8268fc8661e54d03b02abf677c7f4afdb021e14e (patch)
treedc47bc9803c256fa9c216b8c5e876f8b4d0f635d /Utilities
parente1699f123e6968eab5a1c1fe2336c0ce8258b3a1 (diff)
parent78bbd585451752e7b23eafbfa1dc009fd5cda750 (diff)
downloadCMake-8268fc8661e54d03b02abf677c7f4afdb021e14e.zip
CMake-8268fc8661e54d03b02abf677c7f4afdb021e14e.tar.gz
CMake-8268fc8661e54d03b02abf677c7f4afdb021e14e.tar.bz2
Merge topic 'cxx-atomic'
78bbd58545 Source: Link libatomic when needed on Linux 32-bit ARM Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8663
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmcppdap/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmcppdap/CMakeLists.txt b/Utilities/cmcppdap/CMakeLists.txt
index 2aca681..fe48132 100644
--- a/Utilities/cmcppdap/CMakeLists.txt
+++ b/Utilities/cmcppdap/CMakeLists.txt
@@ -33,6 +33,9 @@ if(WIN32)
elseif(NOT APPLE)
target_link_libraries(cmcppdap PRIVATE Threads::Threads)
endif()
+if(CMake_HAVE_CXX_ATOMIC_LIB)
+ target_link_libraries(cmcppdap PRIVATE atomic)
+endif()
if(CMake_BUILD_PCH)
target_precompile_headers(cmcppdap PRIVATE "include/dap/protocol.h")