Changeset 19836 for trunk/FACT++
- Timestamp:
- 10/30/19 16:33:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/CMakeLists.txt
r19818 r19836 277 277 SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} ${ROOT_fortran_FLAGS}") 278 278 ENDIF() 279 280 IF(ROOTSYS AND NOT ROOTSYS STREQUAL $ENV{ROOTSYS}) 281 MESSAGE(WARNING 282 " \n" 283 " ROOT Version changed!\n" 284 " Present ROOTSYS: $ENV{ROOTSYS}\n" 285 " Previous ROOTSYS: ${ROOTSYS}") 286 FILE(REMOVE thisroot.sh) 287 ENDIF() 288 289 SET(ROOTSYS $ENV{ROOTSYS} CACHE INTERNAL "Internal variable to check for consistency in ROOTSYS") 290 291 # For convenience and easy tracking 292 ADD_CUSTOM_COMMAND(OUTPUT thisroot.sh COMMAND ln -sf ${ROOTSYS}/bin/thisroot.sh VERBATIM) 293 ADD_CUSTOM_TARGET(thisroot ALL DEPENDS thisroot.sh) 279 294 280 295 ENDIF(NOT NO_ROOT AND NOT VIEWER_ONLY)
Note:
See TracChangeset
for help on using the changeset viewer.