Conversation
|
@xsacha Thank you for submitting a patch. |
|
Hey, sorry, I am confused by this option: Specific isue with build is a CMake issue I'll have to workaround: https://cmake.org/Bug/view.php?id=14444 |
|
Why do you need to install ${TARGET_LIBSLEEF}, ${TARGET_LIBSLEEFGNUABI} and ${TARGET_LIBDFT} at the end of the top CMakeLists.txt? I thought what you need to additionally install is *.cmake. |
|
Yeah, that's how it works. I give it the TARGET and it brings in all associated libraries, dependencies, includes (unless you did them manually somewhere like the find_package). That first attempt just didn't work because of a bug/design in that specific CMake yet it worked fine in mine (latest). This new version should work fine in all CMake. |
de4306f to
af5668c
Compare
* Add simple config * Add config dependencies (OpenMP isn't used yet in the latest release)
de4306f to
acc49b8
Compare
|
@xsacha I know I am late, but I am now looking into this PR. |
|
@shibatch when the file is configured, as in |
|
Looks good, but I think we need some kind of a tester for making sure that this functionality is not broken. |
|
@fpetrogalli How do you think? If you are happy with this patch, I will merge this and then add a tester. |
|
I'm closing this PR for the reason pointed by @friendlyanon. |
Will allow you to find with find_package(sleef) and use with target_link_libraries(${TARGET_NAME} sleef::sleef).
Only basic right now as I am unfamilar with the project and not sure if there are any special cmake defines that need to be passed through.