CMakeLists.txt 321 Bytes
Newer Older
moto's avatar
moto committed
1
cmake_minimum_required(VERSION 3.5)
moto's avatar
moto committed
2
3
4

project(torchaudio_third_parties)

moto's avatar
moto committed
5
6
7
8
9
10
option(BUILD_SOX "Build libsox statically")
option(BUILD_TRANSDUCER "Build transducer statically")

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

if (BUILD_SOX)
11
  add_subdirectory(sox)
moto's avatar
moto committed
12
endif()
13

moto's avatar
moto committed
14
if(BUILD_TRANSDUCER)
15
  add_subdirectory(transducer)
moto's avatar
moto committed
16
endif()