summaryrefslogtreecommitdiff
path: root/Externals/FreeSurround/CMakeLists.txt
blob: 448842da2f403d1633cc71daf55171c5dda42122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if (NOT MSVC)
  set(CMAKE_CXX_STANDARD 14)
  set(CMAKE_CXX_STANDARD_REQUIRED ON)
  set(CMAKE_CXX_EXTENSIONS OFF)
endif()

set(SRCS
  source/ChannelMaps.cpp
  source/KissFFT.cpp
  source/KissFFTR.cpp
  source/FreeSurroundDecoder.cpp
)

add_library(FreeSurround STATIC ${SRCS})
dolphin_disable_warnings(FreeSurround)
target_include_directories(FreeSurround PUBLIC include)
target_compile_options(FreeSurround PRIVATE -w)