Skip to content

Commit

Permalink
Fix linker error
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherednik committed Mar 27, 2020
1 parent 3a8442c commit 7b77cc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 7b77cc3

Please sign in to comment.