Changeset 19834
- Timestamp:
- 10/30/19 16:18:35 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/CMakeLists.txt
r19830 r19834 184 184 ENDIF() 185 185 186 IF(ROOTSYS AND NOT ROOTSYS STREQUAL $ENV{ROOTSYS}) 187 MESSAGE(WARNING 188 " \n" 189 " ROOT Version changed!\n" 190 " Present ROOTSYS: $ENV{ROOTSYS}\n" 191 " Previous ROOTSYS: ${ROOTSYS}") 192 FILE(REMOVE thisroot.sh) 193 ENDIF() 194 195 SET(ROOTSYS $ENV{ROOTSYS} CACHE INTERNAL "Internal variable to check for consistency in ROOTSYS") 196 186 197 # For convenience and easy tracking 187 ADD_CUSTOM_COMMAND(OUTPUT thisroot.sh COMMAND ln -sf $ ENV{ROOTSYS}/bin/thisroot.sh VERBATIM)198 ADD_CUSTOM_COMMAND(OUTPUT thisroot.sh COMMAND ln -sf ${ROOTSYS}/bin/thisroot.sh VERBATIM) 188 199 ADD_CUSTOM_TARGET(thisroot ALL DEPENDS thisroot.sh) 189 200
Note:
See TracChangeset
for help on using the changeset viewer.