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

Install headers #33

Merged
merged 2 commits into from
Feb 25, 2024
Merged

Install headers #33

merged 2 commits into from
Feb 25, 2024

Conversation

RaulPPelaez
Copy link
Owner

I added a top-level CMake file that installs every uammd header to $CMAKE_INSTALL_PREFIX/include/uammd.

I also added a FindUAMMD.cmake module that looks for these, so that it is possible to call:

find_package(UAMMD REQUIRED)
include_directories(${UAMMD_INCLUDE_DIRS})

regardless of where UAMMD is installed.
FindUAMMD.cmake is installed to $CMAKE_INSTALL_PREFIX/share/cmake/Modules

@RaulPPelaez RaulPPelaez merged commit 921e15c into v2.x Feb 25, 2024
2 of 3 checks passed
@RaulPPelaez RaulPPelaez deleted the install_headers branch February 25, 2024 14:17
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.

1 participant