I can throw together a diff but am not sure what the intended behavior here is... When building kimap without cmake BUILD_TESTING it installs fewer files than when with BUILD_TESTING. STEPS TO REPRODUCE 1. cmake -DBUILD_TESTING=OFF 2. make install OBSERVED RESULT missing libkimaptest.a + headers EXPECTED RESULT Installed files should be the same. That is to say either libkimaptest is meant to be used by other software built on top of kimap, in which case whether kimap was built with BUILD_TESTING or not should make no difference, OR libkimaptest is purely internal and shouldn't be installed at all. Option 1: Move kimaptest out of autotests dir so it always gets built and installed. So other software can use it. Option 2: Remove the install() calls.
hi, it's used in kdepim-runtime. But by default if we build without BUILD_TESTING kimap we will build kdepim-runtime too without BUILD_TESTING We have a test in kdepim-runtime "if(NOT TARGET KF5::kimaptest)" So for me it's not a bug. Regards