diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e42569..dc77596 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,10 +46,10 @@ endif() # generate header file to handle version configure_file( - "${PROJECT_SOURCE_DIR}/config.h.in" "${PROJECT_SOURCE_DIR}/config.h" + "${PROJECT_SOURCE_DIR}/version.h.in" "${PROJECT_SOURCE_DIR}/version.h" ) -# set buold type +# set build type if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." diff --git a/tmux-mem-cpu-load.cpp b/tmux-mem-cpu-load.cpp index 7f8f312..15d090f 100644 --- a/tmux-mem-cpu-load.cpp +++ b/tmux-mem-cpu-load.cpp @@ -23,7 +23,7 @@ #include // EXIT_SUCCESS #include "argParse/argParse.h" -#include "config.h" +#include "version.h" #include "graph.h" // Tmux color lookup tables for the different metrics. diff --git a/config.h.in b/version.h.in similarity index 100% rename from config.h.in rename to version.h.in