diff mbox series

[1/5] kernel-shark: Add INSTALL PREFIX to the Cmake-generated header file.

Message ID 20190423132741.17864-2-ykaradzhov@vmware.com (mailing list archive)
State Superseded
Headers show
Series Modifications needed for KS 1.0 | expand

Commit Message

Yordan Karadzhov April 23, 2019, 1:27 p.m. UTC
To be used to check if the aplication runs from its installation location.

Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com>
---
 kernel-shark/build/deff.h.cmake | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/kernel-shark/build/deff.h.cmake b/kernel-shark/build/deff.h.cmake
index 8041cfc..ba211f4 100644
--- a/kernel-shark/build/deff.h.cmake
+++ b/kernel-shark/build/deff.h.cmake
@@ -14,6 +14,9 @@ 
 /** KernelShark source code path. */
 #cmakedefine KS_DIR "@KS_DIR@"
 
+/** KernelShark installation prefix path. */
+#cmakedefine _INSTALL_PREFIX "@_INSTALL_PREFIX@"
+
 /** Location of the trace-cmd executable. */
 #cmakedefine TRACECMD_BIN_DIR "@TRACECMD_BIN_DIR@"