CMake: Fix generation of XXX_tracepoints.cpp

The include directive was incorrectly written.
This amends 5c092c2b40.

Change-Id: Ia72ca3a5d5e1486ade4d71a764550d36979640f6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2020-09-10 16:17:16 +02:00
parent 4c8e231568
commit 8a2ca17b2d

View File

@ -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)