Commit 458eb32
THRIFT-5887: ensure using our CMake modules
Client: cpp
If we append our CMake module path to `CMAKE_MODULE_PATH` and Apache
Thrift is built with FetchContent, our CMake modules in `build/cmake/`
may not be used. Because other paths in `CMAKE_MODULE_PATH` may be
used. For example, both of Apache Arrow and Apache Thrift has
`DefineOptions.cmake`. If Apache Arrow builds Apache Thrift with
FetchContent, Apache Arrow's `DefineOptions.cmake` is used
unexpectedly.1 parent 42d0b71 commit 458eb32
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments