Populate the cmake variables only one time.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 19 Feb 2013 19:00:28 +0000 (20:00 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 21 Feb 2013 21:41:05 +0000 (22:41 +0100)
commit7477d50fce9a0008ff4e050285e146ebc0c1e163
treee52f377df3918f00c32d509a76639eee0b56f0f0
parent057fabab7cbcb6b278771e1336c3a82f64106b2d
Populate the cmake variables only one time.

Since we're only including the Extras file one time, invoking set() for
the include dirs again will overwrite the addition of include dirs in
the extras file.

We only need to populate these variables if not set anyway, so do that.

Change-Id: I04dad0674778e79c8c12c18231b8ce6c92edf881
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
tests/auto/cmake/test_multiple_find_package/CMakeLists.txt
tests/auto/cmake/test_multiple_find_package/main.cpp [new file with mode: 0644]
tests/auto/cmake/test_multiple_find_package/subdir1/CMakeLists.txt