Changeset 19326


Ignore:
Timestamp:
Oct 29, 2018, 6:17:17 PM (3 months ago)
Author:
tbretz
Message:
Use the compiler to check if the correct root version got loaded.
File:
1 edited

Legend:

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

    r19298 r19326  
    4343///////////////////////////////////////////////////////////////////////////
    4444#include <iomanip>
     45
     46#if ROOT_VERSION_CODE != ROOT_VERSION(${ROOT_VERSION_MAJOR},${ROOT_VERSION_MINOR},${ROOT_VERSION_PATCH})
     47#error Started ROOT version does not match ROOT version linked with libmars.so
     48#endif
    4549
    4650#if defined (R__ADD_LIBRARY_PATH) && defined (R__LOAD_LIBRARY)
Note: See TracChangeset for help on using the changeset viewer.