Skip to content

Commit 3a0279c

Browse files
author
Conor
committed
Revert "Test for hardware support for atomics, link to libatomic if not detected"
This reverts commit 2f359cd.
1 parent 2f359cd commit 3a0279c

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@ message(STATUS "CMAKE_BUILD_TYPE is set to '${CMAKE_BUILD_TYPE}'")
2525

2626
find_package(Threads REQUIRED)
2727

28-
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
29-
include(cmake/atomic.cmake)
30-
endif()
31-
3228
# ------ Declare library ------
3329

3430
add_library(libfork_libfork INTERFACE)
3531
add_library(libfork::libfork ALIAS libfork_libfork)
3632

37-
target_link_libraries(libfork_libfork INTERFACE Threads::Threads ${LIBFORK_EXTRA_LIBS})
33+
target_link_libraries(libfork_libfork INTERFACE Threads::Threads)
3834

3935
set_property(TARGET libfork_libfork PROPERTY EXPORT_NAME libfork)
4036

cmake/atomic.cmake

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)