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)