File tree 1 file changed +5
-0
lines changed 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,17 @@ set(XCPP_TAGCONFS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/etc/xeus-cpp/tags.d)
35
35
36
36
file (STRINGS "VERSION" XEUS_CPP_VERSION)
37
37
string (REPLACE "." ";" VERSION_LIST "${XEUS_CPP_VERSION} " )
38
+ string (REPLACE "\\ " "" VERSION_LIST "${VERSION_LIST} " )
38
39
list (GET VERSION_LIST 0 XEUS_CPP_VERSION_MAJOR)
39
40
list (GET VERSION_LIST 1 XEUS_CPP_VERSION_MINOR)
40
41
list (GET VERSION_LIST 2 XEUS_CPP_VERSION_PATCH)
41
42
42
43
set (${PROJECT_NAME} _VERSION
43
44
${XEUS_CPP_VERSION_MAJOR} .${XEUS_CPP_VERSION_MINOR} .${XEUS_CPP_VERSION_PATCH} )
45
+
46
+ # message("Major version: ${XEUS_CPP_VERSION_MAJOR}")
47
+ # message("Minor version: ${XEUS_CPP_VERSION_MINOR}")
48
+ # message("Patch version: ${XEUS_CPP_VERSION_PATCH}")
44
49
message (STATUS "Building xeus-cpp v${XEUS_CPP_VERSION} " )
45
50
46
51
# Build options
You can’t perform that action at this time.
0 commit comments