Skip to content

Commit

Permalink
FRI_VERSION -> FRI_CLIENT_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Sep 7, 2024
1 parent f6aa7c7 commit 8d5df30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
6 changes: 3 additions & 3 deletions friVersion.h.in → friClientVersion.h.in
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8d5df30

Please sign in to comment.