From 8a2ca17b2dcd4947c8777fbc4ec2b086b764f39b Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 10 Sep 2020 16:17:16 +0200 Subject: [PATCH] CMake: Fix generation of XXX_tracepoints.cpp The include directive was incorrectly written. This amends 5c092c2b401. Change-Id: Ia72ca3a5d5e1486ade4d71a764550d36979640f6 Reviewed-by: Alexandru Croitor --- cmake/QtTargetHelpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtTargetHelpers.cmake b/cmake/QtTargetHelpers.cmake index 124e1c90d2..f14f77d3a4 100644 --- a/cmake/QtTargetHelpers.cmake +++ b/cmake/QtTargetHelpers.cmake @@ -337,7 +337,7 @@ function(qt_create_tracepoints name tracepoints_file) qt_configure_file(OUTPUT "${source_path}" CONTENT "#define TRACEPOINT_CREATE_PROBES #define TRACEPOINT_DEFINE -#define include \"${header_filename}\"") +#include \"${header_filename}\"") target_sources(${name} PRIVATE "${source_path}") target_compile_definitions(${name} PRIVATE Q_TRACEPOINT)