remove duplicate BUILD_TEST flag in libtorch cmake file (#12583)

Summary:
there is already a BUILD_TEST flag in the root-level cmake file. Removing this makes sure it doesn't interfere.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12583

Differential Revision: D10348620

Pulled By: anderspapitto

fbshipit-source-id: 3957783b947183e76a4479a740508c0dc1c56930
This commit is contained in:
Anders Papitto 2018-10-12 11:50:54 -07:00 committed by Facebook Github Bot
parent 7da4643232
commit 15bdb9fe61

View file

@ -10,7 +10,6 @@ else()
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
endif()
option(BUILD_TEST "Build torch test binaries" ON)
option(TORCH_STATIC "Build libtorch.a rather than libtorch.so" OFF)
set(TORCH_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}")