diff --git a/CMakeLists.txt b/CMakeLists.txt
index de2ea0c6107b2a715bcb908bf20ee4540f4fb257..544a1c3910d75d35833e520cfa22d5cd99849790 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ find_package( DD4hep REQUIRED COMPONENTS DDCore DDG4 )
 #find_package(Acts REQUIRED COMPONENTS Core PluginIdentification PluginTGeo PluginDD4hep )
 
 #-----------------------------------------------------------------------------------
-set(a_lib_name detector_template)
+set(a_lib_name reference_detector)
 
 if("${PROJECT_NAME}" STREQUAL "reference_detector")
   message(WARNING "