aboutsummaryrefslogtreecommitdiff
path: root/find-modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-12 14:24:58 +0200
committerStephen Kelly <steveire@gmail.com>2013-10-12 14:24:58 +0200
commitb6ddac117f6e0d3e4a88ddaf8fbb769756f367ca (patch)
tree2365d3d33d9650dfd3938f4cb543b2814ce503d6 /find-modules
parent5fd98a9bf963cb18074253e5b8a8c834721db79c (diff)
downloadextra-cmake-modules-b6ddac117f6e0d3e4a88ddaf8fbb769756f367ca.tar.gz
extra-cmake-modules-b6ddac117f6e0d3e4a88ddaf8fbb769756f367ca.tar.bz2
Remove the check for the LIBRARIES variable.
It is redundant and obsolete. Some frameworks can have erroneous values (eg KConfigWidgets currently sets FooBar_LIBRARIES). Downstreams are expected to use the imported target name instead. CCMAIL: kde-frameworks-devel@kde.org
Diffstat (limited to 'find-modules')
-rw-r--r--find-modules/FindKF5.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/find-modules/FindKF5.cmake b/find-modules/FindKF5.cmake
index 5c987ddf..0841c97a 100644
--- a/find-modules/FindKF5.cmake
+++ b/find-modules/FindKF5.cmake
@@ -171,9 +171,6 @@ macro(_KF5_HANDLE_COMPONENT _comp)
if(NOT KF5_FIND_QUIETLY)
message(STATUS "KF5[${_comp}]: Loaded ${${_comp}_CONFIG}")
endif()
- if(NOT DEFINED ${_comp}_LIBRARIES)
- message(FATAL_ERROR "${_comp} does not set ${_comp}_LIBRARIES !")
- endif()
set(KF5_INCLUDE_DIRS ${KF5_INCLUDE_DIRS} ${${_comp}_INCLUDE_DIRS} )
set(KF5_LIBRARIES ${KF5_LIBRARIES} ${${_comp}_LIBRARIES} )
endmacro()