From d4084b102d7abc6bab8fc9d98a92f8b41c497b91 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Wed, 17 Mar 2021 19:34:02 -0500 Subject: [PATCH] Removed template stuff from CMake modified: CMakeLists.txt modified: bin/make_dawn_views --- CMakeLists.txt | 6 ------ bin/make_dawn_views | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 25e819a9..b2d5e2dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,12 +13,6 @@ find_package( DD4hep REQUIRED COMPONENTS DDCore DDG4 ) #----------------------------------------------------------------------------------- set(a_lib_name reference_detector) -if("${PROJECT_NAME}" STREQUAL "reference_detector") - message(WARNING " - Current project and library is named reference_detector! - Please rename library to match corresponding detector implmentation.") -endif() - dd4hep_configure_output() dd4hep_add_plugin(${a_lib_name} SOURCES src/*.cpp diff --git a/bin/make_dawn_views b/bin/make_dawn_views index c6736a06..9bcb46b2 100755 --- a/bin/make_dawn_views +++ b/bin/make_dawn_views @@ -35,7 +35,7 @@ SKIP_EVENTS=0 DETECTOR_ONLY=0 FILE_TAG="view" DAWN_RUN_DIR="scripts/view1" -DETECTOR_FILE="detector_template.xml" +DETECTOR_FILE="reference_detector.xml" POSITIONAL=() while [[ $# -gt 0 ]] -- GitLab