Closed wgtmac closed 3 months ago
Change PROJECT_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR for CMAKE_MODULE_PATH.
PROJECT_SOURCE_DIR
CMAKE_CURRENT_SOURCE_DIR
CMAKE_MODULE_PATH
Line below is not portable when ORC is used by downstream projects:
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake_modules")
Make sure all CIs pass.
No.
What changes were proposed in this pull request?
Change
PROJECT_SOURCE_DIR
toCMAKE_CURRENT_SOURCE_DIR
forCMAKE_MODULE_PATH
.Why are the changes needed?
Line below is not portable when ORC is used by downstream projects:
How was this patch tested?
Make sure all CIs pass.
Was this patch authored or co-authored using generative AI tooling?
No.