Skip to content

Commit 7dcfec0

Browse files
committed
Fix FileNotFoundError: for print_info.c.in
I had misunderstood what `.resolve()` does
1 parent 5e9d2ac commit 7dcfec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter-06/recipe-02/fortran-c-example/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ vars_dict = {
5757
'CMAKE_Fortran_COMPILER': '${CMAKE_Fortran_COMPILER}',
5858
'CMAKE_C_COMPILER': '${CMAKE_C_COMPILER}',
5959
}
60-
configure_file(input_file.resolve(), output_file.resolve(), vars_dict)
60+
configure_file(input_file, output_file, vars_dict)
6161
")
6262

6363
find_package(PythonInterp QUIET REQUIRED)

0 commit comments

Comments
 (0)