added name to version macros

This commit is contained in:
Lendemor 2016-06-04 12:40:16 +02:00
parent 43b2c79cd9
commit bc1091eb47
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
// the configured options and settings for Tutorial
#define VERSION_MAJOR @VERSION_MAJOR@
#define VERSION_MINOR @VERSION_MINOR@
#define @PROJECT_NAME@_VERSION_MAJOR @VERSION_MAJOR@
#define @PROJECT_NAME@_VERSION_MINOR @VERSION_MINOR@

View File

@ -18,7 +18,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(NOT CMAKE_TEMPLATE_PATH)
MESSAGE(WARNING "CMAKE_TEMPLATE_PATH not set. Using default value \"../cmaketemplate\"...")
SET(CMAKE_TEMPLATE_PATH "../cmaketemplate")
SET(CMAKE_TEMPLATE_PATH "../CMakeTemplate")
endif()
include(${CMAKE_TEMPLATE_PATH}/resource.cmake)