Skip to content

Commit

Permalink
Looks like clang static analyzer build needs -latomic
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Jul 13, 2024
1 parent 24a5e38 commit 60d8417
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions geogram/geogram_cmake.patch
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ diff -Naur geogram/src/lib/geogram/CMakeLists.txt GEOGRAM_BLD/src/lib/geogram/CM

target_include_directories(geogram PRIVATE
${PROJECT_SOURCE_DIR}/src/lib/geogram/third_party/amgcl
--- geogram/cmake/platforms/Linux-clang.cmake 2024-07-12 20:43:59.314646694 -0400
+++ GEOGRAM_BLD/cmake/platforms/Linux-clang.cmake 2024-07-12 20:42:45.974952959 -0400
@@ -147,3 +147,4 @@

endmacro()

+add_link_options(-latomic)

0 comments on commit 60d8417

Please sign in to comment.