We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i.e.
cmake .. -DLIBPREFIX=foo
does not work.
Ideally POCO should be using the normal CMake stuff instead of re-inventing the wheel, but at least overriding should work.
The text was updated successfully, but these errors were encountered:
@grandinj, what do you mean by "POCO should be using the normal CMake stuff instead of re-inventing the wheel"?
Was this reproduced with the latest code from main?
main
Sorry, something went wrong.
Hi @matejk
Thanks for responding. Yes, I tested with the latest code from main.
Possibly I am mistaken, or using the cmake build wrong, so feel free to close this bug if I am being an idiot :-)
As far as I understand, CMake already has:
https://cmake.org/cmake/help/v3.17/variable/CMAKE_SHARED_LIBRARY_PREFIX.html
Which is what I meant by "re-inventing the wheel".
What I was trying to do, was to remove the "lib" prefix that is inserted for library names on Linux.
Poco does not use LIBPREFIX in CMake files. They are only used when building with make.
LIBPREFIX
Did you try setting CMAKE_SHARED_LIBRARY_PREFIX when configuring CMake?
CMAKE_SHARED_LIBRARY_PREFIX
Yes, I tried cmake .. -DCMAKE_SHARED_LIBRARY_PREFIX=xxx but it always used "lib".
Hmmm, some googling finds me this: https://discourse.cmake.org/t/how-to-use-cmake-shared-library-prefix-in-command-line/11410
So apparently this is a CMake issue, not a Poco issue.
Thanks for checking, I will close this.
matejk
No branches or pull requests
i.e.
does not work.
Ideally POCO should be using the normal CMake stuff instead of re-inventing the wheel, but at least overriding should work.
The text was updated successfully, but these errors were encountered: