Re: [CMake] Problem with creating shared library

2018-08-19 Thread Eric Noulard
Hi Damir, May be the issue has nothing to do with the way you build the exported <>Config.cmake files. Since may be some nasty detail slipped in, could you tell us if the project is public. It looks like this one: https://github.com/DamirPorobic/kImageAnnotator may be you can push a branch that c

Re: [CMake] Problem with creating shared library

2018-08-19 Thread Damir Porobic
Thanks Sebastián for providing those links! I've followed the second link that you've provided but somehow I'm still running into issue. I've changed the directory structure to this: - kImageAnnotator - cmake - kImageAnnotator-config.cmake.in - example - main.cpp

[CMake] target_link_libraries generates -llibXX.so.0 ld call

2018-08-19 Thread Rafael Sadowski
Hi CMake-users, I always run into the same CMmke/ld(1) issue with some KDE Applications[1] on OpenBSD. For example artikulate-17.12.3. artikulatesound library in libsound/src/CMakeLists.txt[2] --- # enable exceptions for this library kde_enable_exceptions() set(s