libtorch-bin: modify passthru test to capture CMake misconfiguration
This commit is contained in:
parent
e8721af065
commit
2802a021e3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user