From 2802a021e32005497a4ae911d5a339f9456d6051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Sun, 8 Nov 2020 10:55:53 +0100 Subject: [PATCH] libtorch-bin: modify passthru test to capture CMake misconfiguration --- .../libraries/science/math/libtorch/test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/science/math/libtorch/test/CMakeLists.txt b/pkgs/development/libraries/science/math/libtorch/test/CMakeLists.txt index b302449ef77..4e96704a4c1 100644 --- a/pkgs/development/libraries/science/math/libtorch/test/CMakeLists.txt +++ b/pkgs/development/libraries/science/math/libtorch/test/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required(VERSION 3.0) find_package(Torch REQUIRED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}") add_executable(test test.cpp)