From ba50d47d329d270253b9687a66112ad7d9864427 Mon Sep 17 00:00:00 2001 From: doodspav Date: Fri, 24 Nov 2023 02:45:09 +0200 Subject: [PATCH] GHI #20 Add attribution to code snippet [skip-ci] --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b7aea618b..8bcd4a2c5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -45,7 +45,8 @@ if(NOT GTEST_INCLUDE_DIRS) endif() endif() -# get libatomic (.so.1 in case of no namelink, e.g. FC19 and Ubuntu) +# get libatomic if it exists (.so.1 in case of no namelink, e.g. FC19 and Ubuntu) +# courtesy of HP's foedus_code's FindGccAtomic.cmake (the .so.1 part) find_library(libatomic NAMES atomic atomic.so.1 libatomic.so.1) # link GTest to libatomic if it exists