Skip to content

Commit 9abc045

Browse files
authored
Update CMakeLists.txt
1 parent 9b12499 commit 9abc045

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ set(STATIC_LIBS
8282
if(VCPKG_TARGET_TRIPLET MATCHES "arm64-linux" OR SYSTEM_ARCH MATCHES ".*(arm64|aarch64).*")
8383
find_library(LIBATOMIC NAMES atomic)
8484
if(LIBATOMIC)
85+
message(STATUS "libatomic found at ${LIBATOMIC}")
8586
list(APPEND STATIC_LIBS ${LIBATOMIC})
87+
else()
88+
message(FATAL_ERROR "libatomic not found")
8689
endif()
8790
endif()
8891

0 commit comments

Comments
 (0)