Add missing dependencies in CMakeLists.txt

Authored by dcaliste on Sep 20 2018, 8:40 AM.

Description

Add missing dependencies in CMakeLists.txt

Add missing dependencies in target_link_libraries() cmake macro here and there.
Added dependencies comes from #include<> directives for specific headers, like
for instance having #include<kmessagebox.h> but not specifying KF5::WidgetsAddons.

Additionally, I've moved the add_includedirs() macro in sheets/CMakeLists.txt
inside the ifdef PART_SHEETS, otherwise the eigen3 include directory variable may
not be set, when configuring without part_sheets and cmake fails in that case.

Reviewed By: leinir

Differential Revision: https://phabricator.kde.org/D15236

Details

Committed
dcalisteSep 20 2018, 8:40 AM
Reviewer
leinir
Differential Revision
D15236: Add missing dependencies in CMakeLists.txt
Parents
R8:bc9397bc9959: Update deprecated use of setResizeMode()
Branches
Unknown
Tags
Unknown