Externals/FreeSurround/CMakeLists.txt
raw| 1 | if (NOT MSVC) |
| 2 | set(CMAKE_CXX_STANDARD 14) |
| 3 | set(CMAKE_CXX_STANDARD_REQUIRED ON) |
| 4 | set(CMAKE_CXX_EXTENSIONS OFF) |
| 5 | endif() |
| 6 | |
| 7 | set(SRCS |
| 8 | source/ChannelMaps.cpp |
| 9 | source/KissFFT.cpp |
| 10 | source/KissFFTR.cpp |
| 11 | source/FreeSurroundDecoder.cpp |
| 12 | ) |
| 13 | |
| 14 | add_library(FreeSurround STATIC ${SRCS}) |
| 15 | dolphin_disable_warnings(FreeSurround) |
| 16 | target_include_directories(FreeSurround PUBLIC include) |
| 17 | target_compile_options(FreeSurround PRIVATE -w) |