diff --git a/external/InstallAnalysisTree.cmake b/external/InstallAnalysisTree.cmake index 83657983917b293aef66c157cf4d2d7abf540321..eb8bf8db555a5f75556662ae74c9dd3d6f2f03eb 100644 --- a/external/InstallAnalysisTree.cmake +++ b/external/InstallAnalysisTree.cmake @@ -41,11 +41,11 @@ ExternalProject_Add(ANALYSISTREE add_library(AnalysisTreeBase SHARED IMPORTED) set_target_properties(AnalysisTreeBase PROPERTIES IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/lib) -#add_dependencies(AnalysisTreeBase ANALYSISTREE) +add_dependencies(AnalysisTreeBase ANALYSISTREE) add_library(AnalysisTreeInfra SHARED IMPORTED) set_target_properties(AnalysisTreeInfra PROPERTIES IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/lib) -#add_dependencies(AnalysisTreeInfra ANALYSISTREE) +add_dependencies(AnalysisTreeInfra ANALYSISTREE) set(AnalysisTree_LIB_DIR ${CMAKE_BINARY_DIR}/lib) set(AnalysisTree_LIBRARIES AnalysisTreeBase AnalysisTreeInfra) diff --git a/external/InstallAnalysisTreeQA.cmake b/external/InstallAnalysisTreeQA.cmake index 2a0f3b6e8aa6a55cd65afdcc10589342a3c2452e..43297b305b091782fea24f4ebed7131a6ecea059 100644 --- a/external/InstallAnalysisTreeQA.cmake +++ b/external/InstallAnalysisTreeQA.cmake @@ -17,6 +17,7 @@ If(ProjectUpdated) EndIf() ExternalProject_Add(ANALYSISTREEQA + DEPENDS AnalysisTreeBase BUILD_IN_SOURCE 0 SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/AnalysisTreeQA BUILD_BYPRODUCTS ${ANALYSISTREEQA_LIBRARY}