Skip to content

Conversation

@wgtmac
Copy link
Member

@wgtmac wgtmac commented Jun 23, 2024

What changes were proposed in this pull request?

Change PROJECT_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR for CMAKE_MODULE_PATH.

Why are the changes needed?

Line below is not portable when ORC is used by downstream projects:

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake_modules")

How was this patch tested?

Make sure all CIs pass.

Was this patch authored or co-authored using generative AI tooling?

No.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@ffacs ffacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, +1

@wgtmac wgtmac closed this in 2609934 Jun 25, 2024
wgtmac added a commit that referenced this pull request Jun 25, 2024
…E_DIR

Change `PROJECT_SOURCE_DIR` to `CMAKE_CURRENT_SOURCE_DIR` for `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.

Closes #1959 from wgtmac/ORC-1733.

Authored-by: Gang Wu <[email protected]>
Signed-off-by: Gang Wu <[email protected]>
(cherry picked from commit 2609934)
Signed-off-by: Gang Wu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants