diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2013-07-18 11:11:31 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-22 15:41:45 +0200 |
commit | 782ed5eebbe38e41cd0a9b9faf90817d72efda8f (patch) | |
tree | 9733230aad7c376db0e729cb4310858c1f2baf96 /tests/auto/cmake/test_private_includes/CMakeLists.txt | |
parent | 3ff441d30570fd38f62d858b8c8e86e9d1ca3d8d (diff) |
Don't check for the existence of private include directories.
Some packagers don't want to install the private headers.
Check the existence of private headers only if the 'Private' component
is specified when finding the package.
Task-number: QTBUG-32466
Change-Id: I1fdbfb25e8ce485cd051564b937f766b2733741a
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/cmake/test_private_includes/CMakeLists.txt')
-rw-r--r-- | tests/auto/cmake/test_private_includes/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/cmake/test_private_includes/CMakeLists.txt b/tests/auto/cmake/test_private_includes/CMakeLists.txt index f283bc21b3..9095836ed8 100644 --- a/tests/auto/cmake/test_private_includes/CMakeLists.txt +++ b/tests/auto/cmake/test_private_includes/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8) project(test_private_includes) -find_package(Qt5Gui REQUIRED) +find_package(Qt5Gui REQUIRED Private) include_directories( ${Qt5Gui_INCLUDE_DIRS} |