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:
parent
4c8e231568
commit
8a2ca17b2d
@ -337,7 +337,7 @@ function(qt_create_tracepoints name tracepoints_file)
|
|||||||
qt_configure_file(OUTPUT "${source_path}"
|
qt_configure_file(OUTPUT "${source_path}"
|
||||||
CONTENT "#define TRACEPOINT_CREATE_PROBES
|
CONTENT "#define TRACEPOINT_CREATE_PROBES
|
||||||
#define TRACEPOINT_DEFINE
|
#define TRACEPOINT_DEFINE
|
||||||
#define include \"${header_filename}\"")
|
#include \"${header_filename}\"")
|
||||||
target_sources(${name} PRIVATE "${source_path}")
|
target_sources(${name} PRIVATE "${source_path}")
|
||||||
target_compile_definitions(${name} PRIVATE Q_TRACEPOINT)
|
target_compile_definitions(${name} PRIVATE Q_TRACEPOINT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user