isapego commented on code in PR #4628:
URL: https://github.com/apache/ignite-3/pull/4628#discussion_r1815166676


##########
modules/platforms/cpp/CMakeLists.txt:
##########
@@ -16,7 +16,14 @@
 #
 
 cmake_minimum_required(VERSION 3.18)
-project(Ignite.C++ VERSION 3.0.0 LANGUAGES CXX)
+
+file(READ _version.txt IGNITE_VERSION)
+if(NOT DEFINED IGNITE_VERSION)
+  set(IGNITE_VERSION 3.0.0)
+  message(WARNING "Failed to read version from File. Using default version 
\"${IGNITE_VERSION}\".")

Review Comment:
   ```suggestion
     message(WARNING "Failed to read version from _version.txt file. Using 
default version \"${IGNITE_VERSION}\".")
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to