Skip to content
Snippets Groups Projects
Commit 8d92203a authored by Administrator's avatar Administrator
Browse files

Fix AnalysisTree and AnalysisTreeQA installation

Use commit hash of a tag instead of tag name to define the needed git version.
The hash is needed to check the already downloaded and build version.
Without the hash after each run of CMake the libraries are rebuild.
Using the hash only rebuild the libraries if there is a change of the hash.
parent f70c9104
No related branches found
No related tags found
1 merge request!67Fix AnalysisTree and AnalysisTreeQA installation
set(ANALYSISTREE_VERSION v1.0.1)
set(ANALYSISTREE_VERSION 6152da7130f711a4a6459bc758bb49b858922fa8)
set(ANALYSISTREE_SRC_URL "https://github.com/HeavyIonAnalysis/AnalysisTree.git")
set(ANALYSISTREE_DESTDIR "${CMAKE_BINARY_DIR}/external/ANALYSISTREE-prefix")
......@@ -54,9 +54,9 @@ set(AnalysisTree_FOUND TRUE)
foreach(LIB_NAME ${ANALYSISTREE_LIBNAME})
Install( FILES
"${CMAKE_BINARY_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}${LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}"
"${CMAKE_BINARY_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}${LIB_NAME}_rdict.pcm"
"${CMAKE_BINARY_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}${LIB_NAME}.rootmap"
${CMAKE_BINARY_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}${LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}
${CMAKE_BINARY_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}${LIB_NAME}_rdict.pcm
${CMAKE_BINARY_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}${LIB_NAME}.rootmap
DESTINATION lib)
endforeach(LIB_NAME)
......
set(ANALYSISTREEQA_VERSION v1.0.1)
set(ANALYSISTREEQA_VERSION 634a0200ba4110eb31328c327a462d11f96f7e14)
set(ANALYSISTREEQA_SRC_URL "https://github.com/HeavyIonAnalysis/AnalysisTreeQA.git")
set(ANALYSISTREEQA_DESTDIR "${CMAKE_BINARY_DIR}/external/ANALYSISTREEQA-prefix")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment