~s-cecilio/lenmus/v5.1.x

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: cecilios
  • Date: 2012-09-08 15:06:20 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:branches/TRY-5.0:726
fix CMakeList

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
#build version string for installer name
79
79
set(LENMUS_VERSION_STRING "${LENMUS_VERSION_MAJOR}.${LENMUS_VERSION_MINOR}" )
80
 
if (NOT("${LENMUS_VERSION_TYPE}" STREQUAL ""))
81
 
    set(LTYPE "")
 
80
if (NOT("${LENMUS_VERSION_TYPE}" STREQUAL "' '"))
82
81
    if ("${LENMUS_VERSION_TYPE}" STREQUAL "'a'")
83
82
        set(LTYPE "a")
84
 
    elseif ("${LENMUS_VERSION_TYPE}" STREQUAL "'b'")
 
83
    else()
85
84
        set(LTYPE "b")
86
85
    endif()
87
86
    set(LENMUS_VERSION_STRING "${LENMUS_VERSION_STRING}.${LTYPE}${LENMUS_VERSION_PATCH}" )
90
89
        set(LENMUS_VERSION_STRING "${LENMUS_VERSION_STRING}.${LENMUS_VERSION_PATCH}" )
91
90
    endif()
92
91
endif()
93
 
set(LENMUS_VERSION_STRING "${LENMUS_VERSION_STRING}.${LENMUS_REVISION}" )
94
92
message ("version string = '${LENMUS_VERSION_STRING}'") 
95
93
 
96
94