Changeset 19352


Ignore:
Timestamp:
Nov 7, 2018, 3:38:49 PM (8 months ago)
Author:
tbretz
Message:
Fixed for root 5.34 which does not define those for cmake.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/cmake/rootlogon.C.in

    r19326 r19352  
    4444#include <iomanip>
    4545
    46 #if ROOT_VERSION_CODE != ROOT_VERSION(${ROOT_VERSION_MAJOR},${ROOT_VERSION_MINOR},${ROOT_VERSION_PATCH})
     46#if defined(ROOT_VERSION_CODE) && (ROOT_VERSION_CODE != ROOT_VERSION(${ROOT_VERSION_MAJOR},${ROOT_VERSION_MINOR},${ROOT_VERSION_PATCH}))
    4747#error Started ROOT version does not match ROOT version linked with libmars.so
    4848#endif
Note: See TracChangeset for help on using the changeset viewer.