WSL/SLF GitLab Repository

Commit d38dd18b authored by Mathias Bavay's avatar Mathias Bavay
Browse files

The version number macro was not working anymore

parent 40870cf3
......@@ -2,10 +2,10 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/tools/cmake/")
PROJECT(inishell)
SET(VERSION_MAJOR 2 CACHE INTERNAL "")
SET(VERSION_MINOR 0 CACHE INTERNAL "")
SET(VERSION_PATCH 7 CACHE INTERNAL "")
PROJECT(inishell VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/src/main/config.h.in ${PROJECT_SOURCE_DIR}/src/main/config.h)
###########################################################
......
......@@ -25,6 +25,7 @@
#ifndef COMMON_H
#define COMMON_H
//this is a cmake generated file
#include <src/main/config.h>
#include <QIcon>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment