Changeset 19750 for trunk/Mars/cmake


Ignore:
Timestamp:
10/10/19 17:08:12 (5 years ago)
Author:
tbretz
Message:
In some configurations the root version is missing -> don't check then
File:
1 edited

Legend:

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

    r19353 r19750  
    4444#include <iomanip>
    4545
    46 #if defined(ROOT_VERSION_CODE)
     46#cmakedefine ROOT_VERSION_AVAILABLE "@ROOT_VERSION_MAJOR@"
     47
     48#if defined(ROOT_VERSION_CODE) && defined(ROOT_VERSION_AVAILABLE)
    4749#if ROOT_VERSION_CODE != ROOT_VERSION(${ROOT_VERSION_MAJOR},${ROOT_VERSION_MINOR},${ROOT_VERSION_PATCH})
    4850#error Started ROOT version does not match ROOT version linked with libmars.so
Note: See TracChangeset for help on using the changeset viewer.