From ba2ea90e10516997c1d0d7ce1107eeb12c5b71e2 Mon Sep 17 00:00:00 2001 From: devnoname120 Date: Wed, 14 Feb 2018 12:02:27 +0100 Subject: [PATCH] Switch EASY_PROFILER_NO_GUI from variable to option --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca9b2f9..785d5fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ project(easy_profiler CXX) set_property(GLOBAL PROPERTY USE_FOLDERS ON) +option(EASY_PROFILER_NO_GUI "Build easy_profiler without the GUI application (required Qt)" OFF) + set(EASY_PROGRAM_VERSION_MAJOR 1) set(EASY_PROGRAM_VERSION_MINOR 3) set(EASY_PROGRAM_VERSION_PATCH 0)