diff options
author | Daniël de Kok <me@danieldk.eu> | 2020-11-08 10:55:53 +0100 |
---|---|---|
committer | Daniël de Kok <me@danieldk.eu> | 2020-11-09 07:49:54 +0100 |
commit | 2802a021e32005497a4ae911d5a339f9456d6051 (patch) | |
tree | 8c7569f5741e4ea5cfdf4010340de6067663b88c /pkgs/development/libraries/science/math | |
parent | e8721af065934457b4ebf4ca819009ab5a2cb3de (diff) |
libtorch-bin: modify passthru test to capture CMake misconfiguration
Diffstat (limited to 'pkgs/development/libraries/science/math')
-rw-r--r-- | pkgs/development/libraries/science/math/libtorch/test/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/math/libtorch/test/CMakeLists.txt b/pkgs/development/libraries/science/math/libtorch/test/CMakeLists.txt index b302449ef7722..4e96704a4c175 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) |