From 963ecfc518cccd07cbc8a084ba237cf44300e7f9 Mon Sep 17 00:00:00 2001 From: devnoname120 Date: Sun, 14 Jan 2018 14:50:36 +0100 Subject: [PATCH] Add a EASY_PROFILER_NO_GUI option --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3493a7c..ca9b2f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,9 @@ endmacro() SET(CMAKE_INSTALL_RPATH "$ORIGIN") add_subdirectory(easy_profiler_core) -add_subdirectory(profiler_gui) +if (NOT EASY_PROFILER_NO_GUI) + add_subdirectory(profiler_gui) +endif() add_subdirectory(easy_profiler_converter) if (NOT EASY_PROFILER_NO_SAMPLES)