Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11210 for code/trunk/cmake


Ignore:
Timestamp:
Jun 2, 2016, 10:27:15 PM (9 years ago)
Author:
landauf
Message:

COMPARE_VERSION_STRINGS resulted in strange error when version-header was not found. fixed this by setting version-variable to 'NOTFOUND' in this case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/tools/DetermineVersion.cmake

    r7163 r11210  
    5555    ENDFOREACH(_part)
    5656    SET(${_name}_VERSION "${${_name}_VERSION}" PARENT_SCOPE)
     57  ELSE(EXISTS ${_file})
     58    SET(${_name}_VERSION "NOTFOUND" PARENT_SCOPE)
    5759  ENDIF(EXISTS ${_file})
    5860ENDFUNCTION(DETERMINE_VERSION)
Note: See TracChangeset for help on using the changeset viewer.