Diff of /CMakeLists.txt [f9c377] .. [5ad5eb]  Maximize  Restore

Switch to side-by-side view

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,7 +53,11 @@
 ENDIF (EXISTS ${PROJECT_SOURCE_DIR}/.svn)
 
 # version to display
-set(DISPLAY_VERSION "${V_MAJOR}.${V_MINOR}.${V_PATCH}.${HUGIN_WC_REVISION}")
+IF (HUGIN_DEVELOPMENT_VERSION EQUAL 1)
+  set(DISPLAY_VERSION "Pre-Release ${V_MAJOR}.${V_MINOR}.${V_PATCH}.${HUGIN_WC_REVISION}")
+ELSE (HUGIN_DEVELOPMENT_VERSION EQUAL 1)
+  set(DISPLAY_VERSION "${V_MAJOR}.${V_MINOR}.${V_PATCH}.${HUGIN_WC_REVISION}")
+ENDIF (HUGIN_DEVELOPMENT_VERSION EQUAL 1)
 
 # version for internal libraries.
 set(HUGIN_LIB_VERSION 0.0)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks