We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c09ea6 commit fcbf893Copy full SHA for fcbf893
CMakeLists.txt
@@ -63,11 +63,12 @@ if(flamegraph)
63
# Check if perf is available in OS:
64
find_program(PERF_EXECUTABLE perf)
65
if(NOT PERF_EXECUTABLE)
66
- message(WARNING "Perf is not available in your system, please install it. Turning off the flamegraph option.")
+ message(WARNING "Perf is not available in your system, please install it.")
67
set(flamegraph OFF CACHE BOOL "")
68
+ else()
69
+ include(FlameGraph)
70
+ add_custom_target(flamegraph-download DEPENDS FlameGraph)
71
endif()
- include(FlameGraph)
- add_custom_target(flamegraph-download DEPENDS FlameGraph)
72
73
74
#---Add ROOT include direcories and used compilation flags
0 commit comments