diff --git a/SparrowConfig.h.in b/SparrowConfig.h.in index 458c83d..e05d398 100644 --- a/SparrowConfig.h.in +++ b/SparrowConfig.h.in @@ -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@ diff --git a/template.cmake b/template.cmake index 88b3efe..87ee3f7 100644 --- a/template.cmake +++ b/template.cmake @@ -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)