Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jan 2, 2024
1 parent 5200d46 commit 66433f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/libatomic.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if(NOT atomic64)
# libraries in a subdirectory of the library directory. E.g. GCC
# installed via homebrew stores libatomic at lib/gcc/13/libatomic.dylib
# instead of lib/libatomic.dylib. CMake's find_library() cannot easily
# be used to recursively find libraries. There we use this workaround
# be used to recursively find libraries. Therefore we use this workaround
# here (try adding -latomic to linker options) for this use case.
set(CMAKE_REQUIRED_LINK_OPTIONS "-latomic")

Expand Down

0 comments on commit 66433f3

Please sign in to comment.