Commit fa6aec91 authored by Andreas Bombe's avatar Andreas Bombe

Link to libatomic

Closes: 8596161
parent 2780fd3b
cubicsdr (0.2.0+git20170310+dfsg-2) UNRELEASED; urgency=medium
* Link to libatomic (Closes: #859616)
-- Andreas Bombe <aeb@debian.org> Thu, 06 Apr 2017 15:08:05 +0200
cubicsdr (0.2.0+git20170310+dfsg-1) unstable; urgency=medium
* Initial release (Closes: #829516)
......
Description: Link libatomic
Some architectures do not have builtin atomic support in the compiler
and/or do not automatically link libatomic. This patch simply adds
unconditional linking to libatomic.
Author: Andreas Bombe <aeb@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -637,7 +637,7 @@
configure_files(${CUBICSDR_HEADER_IMAGE_DIR} ${CMAKE_BINARY_DIR}/${EX_PLATFORM_NAME} ${CUBICSDR_HEADER_IMAGE_FILE})
ENDIF()
add_executable(CubicSDR ${cubicsdr_sources} ${cubicsdr_headers} ${RES_FILES})
- target_link_libraries(CubicSDR ${LIQUID_LIB} ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${OTHER_LIBRARIES})
+ target_link_libraries(CubicSDR ${LIQUID_LIB} ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${OTHER_LIBRARIES} -latomic)
ENDIF (NOT BUNDLE_APP)
IF (MSVC)
use-system-tinyxml
disable-deb-processing
link-libatomic
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment