Debian Codegraph @

debian/patches/link-libatomic

raw symbols SCIP
1 Description: Link libatomic
2 Some architectures do not have builtin atomic support in the compiler
3 and/or do not automatically link libatomic. This patch simply adds
4 unconditional linking to libatomic.
5 Author: Andreas Bombe <[email protected]>
6 ---
7 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8 --- a/CMakeLists.txt
9 +++ b/CMakeLists.txt
10 @@ -679,7 +679,7 @@
11 configure_files(${CUBICSDR_HEADER_IMAGE_DIR} ${CMAKE_BINARY_DIR}/${EX_PLATFORM_NAME} ${CUBICSDR_HEADER_IMAGE_FILE})
12 ENDIF()
13 add_executable(CubicSDR ${cubicsdr_sources} ${cubicsdr_headers} ${RES_FILES})
14 - target_link_libraries(CubicSDR ${LIQUID_LIB} ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${OTHER_LIBRARIES})
15 + target_link_libraries(CubicSDR ${LIQUID_LIB} ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${OTHER_LIBRARIES} -latomic)
16 ENDIF (NOT BUNDLE_APP)
17
18 IF (MSVC)