From 15bdb9fe61daffd158efa36d2b8dfbf80300cb2e Mon Sep 17 00:00:00 2001 From: Anders Papitto Date: Fri, 12 Oct 2018 11:50:54 -0700 Subject: [PATCH] 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 --- torch/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/torch/CMakeLists.txt b/torch/CMakeLists.txt index ae2b0b04296..70a970025b1 100644 --- a/torch/CMakeLists.txt +++ b/torch/CMakeLists.txt @@ -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}")