diff --git a/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/CMakeLists.txt b/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/CMakeLists.txt index 14eb13b7743c6c0eceab4dcef8f74343bc1732fa..390ed295ddaa5b2c6c7f71b10a32485ea9f233f0 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/CMakeLists.txt +++ b/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/CMakeLists.txt @@ -8,7 +8,7 @@ atlas_subdir( MuonReadoutGeometry ) # Extra dependencies, based on the environment (no MuonCondSvc needed in AthSimulation): set( extra_deps ) set( extra_libs ) -if( NOT "${ATLAS_PROJECT}" STREQUAL "AthSimulation" ) +if( NOT SIMULATIONBASE ) set( extra_deps MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondSvc ) set( extra_libs MuonCondSvcLib ) endif()