===================================================================
Gbp-Pq: Name unconditionally-use-libatomic.patch
endif()
check_library_exists( atomic __atomic_fetch_add_4 "" HAVE_LIBATOMIC )
-if( HAVE_LIBATOMIC )
+#if( HAVE_LIBATOMIC )
list( APPEND CMAKE_REQUIRED_LIBRARIES -latomic )
-endif()
+#endif()
# Add the dynamic linker library (if needed) to the list of required libraries
list( APPEND CMAKE_REQUIRED_LIBRARIES ${CMAKE_DL_LIBS} )
c++ = g++ $(c_opts)
cclink = gcc
c++link = g++
-syslibs = -lm
+syslibs = -lm -latomic
scorealign_o = comp_chroma.o gen_chroma.o scorealign.o snd/audionone.o \
snd/sndcvt.o snd/sndheader.o snd/sndio.o snd/snd.o \
)
target_link_libraries(riff-test-util
- lib-import-export
+ lib-import-export atomic
)