diff --git a/CMakeLists.txt b/CMakeLists.txt index 01d78a3..77b554f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,13 +61,13 @@ message("Found FRIClient of version: " ${FRI_CLIENT_VERSION}) # create version header configure_file( - ${CMAKE_CURRENT_SOURCE_DIR}/friVersion.h.in ${CMAKE_CURRENT_BINARY_DIR}/${FRIClient_SDK_NAME}/include/friVersion.h + ${CMAKE_CURRENT_SOURCE_DIR}/friClientVersion.h.in ${CMAKE_CURRENT_BINARY_DIR}/${FRIClient_SDK_NAME}/include/friClientVersion.h ) ################################# # define FRIClient library target ################################# -message(STATUS "Configuring FRIClient version ${FRI_VERSION}") +message(STATUS "Configuring FRIClient version ${FRI_CLIENT_VERSION}") file(GLOB_RECURSE NANOPB_SOURCES RELATIVE ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/${FRIClient_SDK_NAME}/src/nanopb-${NANOPB_VERSION}/*.c ) diff --git a/friVersion.h.in b/friClientVersion.h.in similarity index 57% rename from friVersion.h.in rename to friClientVersion.h.in index da0bad2..a90a4d8 100644 --- a/friVersion.h.in +++ b/friClientVersion.h.in @@ -1,7 +1,7 @@ -#ifndef FRI_VERSION_H -#define FRI_VERSION_H +#ifndef FRI_CLIENT_VERSION_H +#define FRI_CLIENT_VERSION_H #define FRI_CLIENT_VERSION_MAJOR @FRI_CLIENT_VERSION_MAJOR@ #define FRI_CLIENT_VERSION_MINOR @FRI_CLIENT_VERSION_MINOR@ -#endif // FRI_VERSION_H +#endif // FRI_CLIENT_VERSION_H