-if(NOT ALICE_INSTALL)
- message(STATUS "AliRoot files will be installed in ${ALICE_ROOT}. You can specify a different location by setting ALICE_INSTALL environment variable")
- set(ALICE_INSTALL ${ALICE_ROOT})
-else()
- message(STATUS "AliRoot files will be installed in ${ALICE_INSTALL}")
-endif(NOT ALICE_INSTALL)
-if(${ALICE_INSTALL} STREQUAL ${CMAKE_BINARY_DIR})
- message(FATAL_ERROR "Install dir should be different from build dir")
-endif()
-
-# If CMAKE_INSTALL_PREFIX was not set than we set it to ALICE_INSTALL.
-# If ALICE_INSTALL was not defined than it will default to source directory
+# If CMAKE_INSTALL_PREFIX was not set, then we set it to ALICE_INSTALL.
+# If ALICE_INSTALL was not defined, then it will default to the source directory