We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff6ee3 commit 2bb6519Copy full SHA for 2bb6519
CMakeLists.txt
@@ -16,8 +16,6 @@ if(WIN32)
16
)
17
# set the same behavior for windows as it is on linux
18
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
19
-
20
- set(FOUND_LIBATOMIC TRUE)
21
endif()
22
23
set(THIS_PACKAGE_INCLUDE_DEPENDS
@@ -84,6 +82,11 @@ if(BUILD_TESTING)
84
82
ament_add_gmock(realtime_buffer_tests test/realtime_buffer_tests.cpp)
85
83
target_link_libraries(realtime_buffer_tests realtime_tools)
86
+ if(WIN32)
+ set(HAVE_CXX_ATOMICS64_WITHOUT_LIB True)
87
+ set(HAVE_CXX_ATOMICS_WITHOUT_LIB True)
88
+ set(FOUND_LIBATOMIC TRUE)
89
+ endif()
90
ament_add_gmock(lock_free_queue_tests test/lock_free_queue_tests.cpp)
91
target_link_libraries(lock_free_queue_tests realtime_tools atomic Boost::boost)
92
0 commit comments