From 5fd98a9bf963cb18074253e5b8a8c834721db79c Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 12 Oct 2013 13:54:48 +0200 Subject: Remove the check for the INCLUDE_DIRS variable. It is redundant and obsolete. The framework template does not set it. --- find-modules/FindKF5.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/find-modules/FindKF5.cmake b/find-modules/FindKF5.cmake index 8a29cdd6..5c987ddf 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}_INCLUDE_DIRS) - message(FATAL_ERROR "${_comp} does not set ${_comp}_INCLUDE_DIRS !") - endif() if(NOT DEFINED ${_comp}_LIBRARIES) message(FATAL_ERROR "${_comp} does not set ${_comp}_LIBRARIES !") endif() -- cgit v1.2.1