Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch-indep CMake packaging #764

Merged
merged 2 commits into from
Mar 24, 2017
Merged

Arch-indep CMake packaging #764

merged 2 commits into from
Mar 24, 2017

Conversation

ghisvail
Copy link
Contributor

Since pybind11 is a header-only library, the CMake packaging does not have to carry any architecture specific checks. Without this patch, the detection of pybind11 will fail on 32-bit architectures if the project was built on a 64-bit machine and vice-versa. This fix is similar to what is applied to Eigen and other header-only C++ libraries.

Since pybind11 is a header-only library, the CMake packaging does not have to carry any architecture specific checks. Without this patch, the detection of pybind11 will fail on 32-bit architectures if the project was built on a 64-bit machine and vice-versa. This fix is similar to what is applied to `Eigen` and other header-only C++ libraries.
@dean0x7d
Copy link
Member

Looks good to me. The only thing I'd suggest is adding a quick comment above those lines in the CMake file.

@wjakob
Copy link
Member

wjakob commented Mar 24, 2017

Looks good to me as well, and all agreed about adding a comment.

@ghisvail
Copy link
Contributor Author

There you go

@wjakob wjakob merged commit 5b50376 into pybind:master Mar 24, 2017
@dean0x7d dean0x7d modified the milestone: v2.2 Aug 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants