Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
cmake: add libatomic as transitive dependency of core module
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Aug 29, 2019
1 parent 8d0b3da commit c5be1cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/core/CMakeLists.txt
Expand Up @@ -87,6 +87,10 @@ ocv_target_link_libraries(${the_module} LINK_PRIVATE
"${OPENCV_HAL_LINKER_LIBS}"
)

if(HAVE_CXX_ATOMICS_WITH_LIB)
ocv_target_link_libraries(${the_module} LINK_PUBLIC atomic)
endif()

ocv_add_accuracy_tests()
ocv_add_perf_tests()

Expand Down

0 comments on commit c5be1cc

Please sign in to comment.