summaryrefslogtreecommitdiffstats
path: root/src/corelib/Qt5CoreConfigExtras.cmake.in
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-06-29 08:32:01 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-03 01:08:25 +0200
commit91720b5bc22410177512abcaea9716de5446162e (patch)
tree3bea489487e767f5f90a60e82d64412a32831339 /src/corelib/Qt5CoreConfigExtras.cmake.in
parent7327ae8c170cb4d6bd3ecde16b12f575268661b5 (diff)
Move the macros for invoking ctest to a shared location.
They are still internal, but all Qt5 modules will be able to use them then. Change-Id: I42ab656115b0976ca959293dfd664ec071f35dbf Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/Qt5CoreConfigExtras.cmake.in')
-rw-r--r--src/corelib/Qt5CoreConfigExtras.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in
index 246aa8376e..fd8c4aa30b 100644
--- a/src/corelib/Qt5CoreConfigExtras.cmake.in
+++ b/src/corelib/Qt5CoreConfigExtras.cmake.in
@@ -65,3 +65,7 @@ set_target_properties(Qt5::WinMain PROPERTIES
)
!!ENDIF
!!ENDIF
+
+get_filename_component(_Qt5CoreConfigDir ${CMAKE_CURRENT_LIST_FILE} PATH)
+
+set(_Qt5CTestMacros \"${_Qt5CoreConfigDir}/Qt5CTestMacros.cmake\")