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

CMake: Fix dll install location #475

Merged
merged 3 commits into from
May 17, 2024
Merged

CMake: Fix dll install location #475

merged 3 commits into from
May 17, 2024

Conversation

jschueller
Copy link
Contributor

@jschueller jschueller commented May 14, 2024

This fixes dll search on conda where dlls are expected to be installed in prefix/bin (pretty standard layout)
static or import libs still go to prefix/lib

@mmuetzel
Copy link
Contributor

The same issue is solved slightly differently with a patch in MSYS2:
https://github.com/msys2/MINGW-packages/blob/8ff52af093c2d67d665e147d79049819e902e2bb/mingw-w64-sundials/0003-sundials-use-default-installdirs.patch

But admittedly, I prefer your proposed change.
Looks good to me. 👍

@jschueller
Copy link
Contributor Author

jschueller commented May 15, 2024

didnt know that omitting DESTINATION is equivalent, lets use new features when they are available (seems to be from cmake>=3.14 but sundials requires >=3.18 anyways)

Copy link
Member

@balos1 balos1 left a comment

Choose a reason for hiding this comment

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

Just a couple request w.r.t. the change notes. Please also sign your commit as per our Contributing guide.

CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Julien Schueller <[email protected]>
@balos1 balos1 added this to the SUNDIALS Next milestone May 16, 2024
@balos1 balos1 merged commit 2febbc7 into LLNL:develop May 17, 2024
18 checks passed
@jschueller jschueller deleted the bindir branch June 4, 2024 13:46
gardner48 pushed a commit that referenced this pull request Jun 20, 2024
This fixes dll search on conda where dlls are expected to be installed
in prefix/bin (pretty standard layout)
static or import libs still go to prefix/lib

Signed-off-by: Julien Schueller <[email protected]>
Co-authored-by: Cody Balos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants