[kpimtextedit] [Bug 430399] cmake searches unused dependency

2020-12-19 Thread rezso
https://bugs.kde.org/show_bug.cgi?id=430399

--- Comment #2 from rezso  ---
I compile all components with -DBUILD_TESTING=FALSE option.
So I think, a conditional search is the best solution:

if(BUILD_TESTING)
   find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Test)
   find_package(KF5IconThemes ${KF5_MIN_VERSION} CONFIG REQUIRED)
   add_definitions(-DBUILD_TESTING)
endif()

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

[kpimtextedit] [Bug 430399] New: cmake searches unused dependency

2020-12-14 Thread rezso
https://bugs.kde.org/show_bug.cgi?id=430399

Bug ID: 430399
   Summary: cmake searches unused dependency
   Product: kpimtextedit
   Version: git
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: re...@rezso.net
  Target Milestone: ---

CMakeLists.txt contains KF5IconThemes as required package, but KF5IconThemes
not used by kpimtextedit.

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

[kidentitymanagement] [Bug 430398] New: cmake searches unused dependency

2020-12-14 Thread rezso
https://bugs.kde.org/show_bug.cgi?id=430398

Bug ID: 430398
   Summary: cmake searches unused dependency
   Product: kidentitymanagement
   Version: git
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: re...@rezso.net
  Target Milestone: ---

CMakeLists.txt contains KF5IconThemes as required package, but KF5IconThemes
not used by kidentitymanagement.

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