project(AliRoot CXX C)
# Path to additonal modules
-set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
+set(CMAKE_MODULE_PATH "${AliRoot_SOURCE_DIR}/cmake")
+
+# AliRoot version extracted from Git repository
+# Sets 4 git variables
+# - GIT_REFSPEC - complete name of the current reference
+# - ALIROOT_BRANCH - name of the branch or tag extracted from the current reference
+# - GIT_SHA1 - current hash in the long format
+# - GIT_SHORT_SHA1 - current hash in the short format
+# - ALIROOT_VERSION = ALIROOT_BRANCH
+# - ALIROOT_REVISION = GIT_SHORT_SHA1
+include(CheckGitVersion)
# - CLANG_MAJOR.CLANG_MINOR or
# - GCC_MAJOR.GCC_MINOR.GCC_PATCH
# ZEROMQ
find_package(ZeroMQ)
-# AliRoot version extracted from Git repository
-# Sets 4 git variables
-# - GIT_REFSPEC - complete name of the current reference
-# - ALIROOT_BRANCH - name of the branch or tag extracted from the current reference
-# - GIT_SHA1 - current hash in the long format
-# - GIT_SHORT_SHA1 - current hash in the short format
-include(CheckGitVersion)
-
message(STATUS "CMake platform: ${CMAKE_SYSTEM}")
message(STATUS "Build folder: ${AliRoot_BINARY_DIR}")
message(STATUS "Source folder: ${AliRoot_SOURCE_DIR}")