Skip to content

Commit b946735

Browse files
authored
Update CMakeLists.txt
1 parent 694b034 commit b946735

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

CMakeLists.txt

-9
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,6 @@ set(STATIC_LIBS
8181

8282
if(VCPKG_TARGET_TRIPLET MATCHES "arm64-linux" OR SYSTEM_ARCH MATCHES ".*(arm64|aarch64).*")
8383
list(APPEND STATIC_LIBS "atomic")
84-
# Use pkg-config to find and link libatomic-ops
85-
find_package(PkgConfig REQUIRED)
86-
pkg_check_modules(ATOMIC_OPS REQUIRED atomic_ops)
87-
if(ATOMIC_OPS_FOUND)
88-
message(STATUS "libatomic-ops found by pkg-config")
89-
include_directories(${ATOMIC_OPS_INCLUDE_DIRS})
90-
link_directories(${ATOMIC_OPS_LIBRARY_DIRS})
91-
list(APPEND STATIC_LIBS ${ATOMIC_OPS_LIBRARIES})
92-
endif()
9384
endif()
9485

9586
# For static extension, use static library with correct link order

0 commit comments

Comments
 (0)