We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f359cd commit 3a0279cCopy full SHA for 3a0279c
CMakeLists.txt
@@ -25,16 +25,12 @@ message(STATUS "CMAKE_BUILD_TYPE is set to '${CMAKE_BUILD_TYPE}'")
25
26
find_package(Threads REQUIRED)
27
28
-if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
29
- include(cmake/atomic.cmake)
30
-endif()
31
-
32
# ------ Declare library ------
33
34
add_library(libfork_libfork INTERFACE)
35
add_library(libfork::libfork ALIAS libfork_libfork)
36
37
-target_link_libraries(libfork_libfork INTERFACE Threads::Threads ${LIBFORK_EXTRA_LIBS})
+target_link_libraries(libfork_libfork INTERFACE Threads::Threads)
38
39
set_property(TARGET libfork_libfork PROPERTY EXPORT_NAME libfork)
40
cmake/atomic.cmake
0 commit comments