Disable Python tests if the option enable_test is false. (#14)

This commit is contained in:
Fangjun Kuang 2021-10-31 10:53:56 +08:00 committed by GitHub
parent 78e79b7b35
commit 90f82455f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,5 @@
add_subdirectory(csrc)
add_subdirectory(tests)
if(kaldifeat_BUILD_TESTS)
add_subdirectory(tests)
endif()