[kimap] [Bug 419481] New: kimap installs stuff conditional on BUILD_TESTING flag

Harald Sitter bugzilla_noreply at kde.org
Wed Apr 1 10:39:42 BST 2020


https://bugs.kde.org/show_bug.cgi?id=419481

            Bug ID: 419481
           Summary: kimap installs stuff conditional on BUILD_TESTING flag
           Product: kimap
           Version: git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: sitter at kde.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list