diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2020-03-27 22:46:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2020-03-27 22:46:56 +0300 |
commit | 7b77cc31e13e01c8937c97d4f5446a5716f28e78 (patch) | |
tree | c9ad146fbc5349475f7074e8ee2e59b47f8971a4 /src/CMakeLists.txt | |
parent | 3a8442c829e0c6bb81c1bb6588002f6f1fae109c (diff) | |
download | atracdenc-7b77cc31e13e01c8937c97d4f5446a5716f28e78.tar.gz |
Fix linker error
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 294050b..ad1761b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -76,7 +76,12 @@ set(SOURCE_ATRACDENC_IMPL ) add_library(fft_impl STATIC ${SOURCE_FFT_LIB}) + add_library(pcm_io STATIC ${SOURCE_PCM_IO_LIB}) +if (NOT WIN32) +target_link_libraries(pcm_io ${SNDFILE_LIBRARIES}) +endif() + add_library(oma STATIC ${SOURCE_OMA_LIB}) add_library(bitstream STATIC ${SOURCE_BITSTREAM_LIB}) add_library(atracdenc_impl STATIC ${SOURCE_ATRACDENC_IMPL}) |