From 193c7ee91c4f97a160a1e4bf572929ab99a276f3 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 1 Dec 2020 16:30:23 +0100 Subject: [PATCH] fix segfault: dtrace build on solaris --- CMake/EnableDtrace.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/EnableDtrace.cmake b/CMake/EnableDtrace.cmake index 184a327a..d9b902ba 100644 --- a/CMake/EnableDtrace.cmake +++ b/CMake/EnableDtrace.cmake @@ -34,7 +34,7 @@ function(enable_dtrace_for TARGET PROBES_D PROBES_H) set(PROBES_C ${TARGET}_probes.cc) file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${PROBES_C} - CONTENT "#include \"${PROBES_H}\"" + CONTENT "#include \"${PROBES_H}\"\n" ) add_custom_command( TARGET ${TARGET} -- 2.30.2