diff options
author | Brad King <brad.king@kitware.com> | 2023-07-28 13:08:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-07-28 13:08:39 (GMT) |
commit | 094b98a3746ca3a352d5bf6a74dd6fc8c3d72364 (patch) | |
tree | e815d3a849a5c4f6dfa3eefac0411ab11861c68a /Utilities/cmcppdap/CMakeLists.txt | |
parent | 2d8aeaca07ecbcff6e5ac59f462fe99d656a3fce (diff) | |
parent | 78bbd585451752e7b23eafbfa1dc009fd5cda750 (diff) | |
download | CMake-094b98a3746ca3a352d5bf6a74dd6fc8c3d72364.zip CMake-094b98a3746ca3a352d5bf6a74dd6fc8c3d72364.tar.gz CMake-094b98a3746ca3a352d5bf6a74dd6fc8c3d72364.tar.bz2 |
Merge topic 'cxx-atomic' into release-3.27
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/cmcppdap/CMakeLists.txt')
-rw-r--r-- | Utilities/cmcppdap/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmcppdap/CMakeLists.txt b/Utilities/cmcppdap/CMakeLists.txt index 39f72a2..b6841f1 100644 --- a/Utilities/cmcppdap/CMakeLists.txt +++ b/Utilities/cmcppdap/CMakeLists.txt @@ -33,5 +33,8 @@ 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() install(FILES NOTICE DESTINATION ${CMAKE_DOC_DIR}/cmcppdap) |