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:40 (GMT) |
commit | 8268fc8661e54d03b02abf677c7f4afdb021e14e (patch) | |
tree | dc47bc9803c256fa9c216b8c5e876f8b4d0f635d /Utilities | |
parent | e1699f123e6968eab5a1c1fe2336c0ce8258b3a1 (diff) | |
parent | 78bbd585451752e7b23eafbfa1dc009fd5cda750 (diff) | |
download | CMake-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.txt | 3 |
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") |