Skip to content

Commit

Permalink
Update coupling guidance in online docs to make FTorch REQUIRED when …
Browse files Browse the repository at this point in the history
…coupling in CMake.
  • Loading branch information
jatkinson1000 committed Jun 5, 2024
1 parent 123fed9 commit f49734c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/cmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ If doing this you need to include the following in the `CMakeLists.txt` file to
find the FTorch installation and link it to the executable.

```CMake
find_package(FTorch)
find_package(FTorch REQUIRED)
target_link_libraries( <executable> PRIVATE FTorch::ftorch )
message(STATUS "Building with Fortran PyTorch coupling")
```
Expand Down

0 comments on commit f49734c

Please sign in to comment.