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
Allow CMake to search shared libraries with find_package
#274
Comments
I would prefer to go further and remove those two lines and let CMake find any type according to the machine type it's on. Then I would change:
to
|
I'm happy to address this stuff since this is one of the things I addressed when I was working to reorganize CMakelists a while ago but had to revert because I messed up the location of |
@jrood-nrel Yes, the preference would be to not explicitly list suffixes in the Nalu CMakeLists.txt file. Would also be good to move YAML-cpp stuff into a |
Dealing with finding yaml would be a good change:) |
This is resolved by #299 . |
Currently, Nalu's top-level CMakeLists.txt sets
which forces CMake to only look for static libraries with
find_package
directives. Is there a use case where this is explicitly needed and why CMake's platform specific defaults are not appropriate? If this is explicitly needed can we change the second line toso that it can accept shared libraries if static libraries are unavailable on the user's system?
Cc: @spdomin @jrood-nrel
The text was updated successfully, but these errors were encountered: