aboutsummaryrefslogtreecommitdiff
path: root/find-modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-12 13:54:48 +0200
committerStephen Kelly <steveire@gmail.com>2013-10-12 13:54:48 +0200
commit5fd98a9bf963cb18074253e5b8a8c834721db79c (patch)
tree75fe9317deb1263b541d70be035baa1904904bda /find-modules
parent51f203c6676d5e07ba653147fba2f04aa2b41293 (diff)
downloadextra-cmake-modules-5fd98a9bf963cb18074253e5b8a8c834721db79c.tar.gz
extra-cmake-modules-5fd98a9bf963cb18074253e5b8a8c834721db79c.tar.bz2
Remove the check for the INCLUDE_DIRS variable.
It is redundant and obsolete. The framework template does not set it.
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 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()