Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix find_package#321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
mircomarahrens wants to merge4 commits intoxtensor-stack:master
base:master
Choose a base branch
Loading
frommircomarahrens:master

Conversation

@mircomarahrens
Copy link

  • remove cmake\FindNumpy.cmake
  • provide fix find_package(Python COMPONENTS Interpreter Development.Module NumPy REQUIRED) in CMakeLists.txt

@mircomarahrensmircomarahrens marked this pull request as draftMay 13, 2025 18:35
add_library(xtensor-pythonINTERFACE)
target_include_directories(xtensor-pythonINTERFACE
"$<BUILD_INTERFACE:${XTENSOR_PYTHON_INCLUDE_DIR};${pybind11_INCLUDE_DIRS};${NUMPY_INCLUDE_DIRS}>"
"$<BUILD_INTERFACE:${XTENSOR_PYTHON_INCLUDE_DIR};${pybind11_INCLUDE_DIRS};${Python_NumPy_INCLUDE_DIR}>"

Choose a reason for hiding this comment

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

Please move this totarget_link_libraries, i.e.

target_link_libraries(xtensor-pythonINTERFACE"$<BUILD_INTERFACE:Python::NumPy>")

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@LecrisUTLecrisUTLecrisUT left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mircomarahrens@LecrisUT

[8]ページ先頭

©2009-2025 Movatter.jp