diff --git a/Help/manual/cmake-instrumentation.7.rst b/Help/manual/cmake-instrumentation.7.rst index f958bb05c1..1a8418ea88 100644 --- a/Help/manual/cmake-instrumentation.7.rst +++ b/Help/manual/cmake-instrumentation.7.rst @@ -569,8 +569,8 @@ Each CMake content file contains the following: ``type`` The :prop_tgt:`TYPE` property of the target. Only ``EXECUTABLE``, - ``STATIC_LIBRARY``, ``SHARED_LIBRARY``, and ``OBJECT_LIBRARY`` targets - are included. + ``STATIC_LIBRARY``, ``SHARED_LIBRARY``, ``MODULE_LIBRARY`` and + ``OBJECT_LIBRARY`` targets are included. ``labels`` The :prop_tgt:`LABELS` property of the target. diff --git a/Source/cmInstrumentation.cxx b/Source/cmInstrumentation.cxx index 6ccf01dd48..3edc4ddd7a 100644 --- a/Source/cmInstrumentation.cxx +++ b/Source/cmInstrumentation.cxx @@ -794,6 +794,7 @@ bool cmInstrumentation::IsInstrumentableTargetType( return type == cmStateEnums::TargetType::EXECUTABLE || type == cmStateEnums::TargetType::SHARED_LIBRARY || type == cmStateEnums::TargetType::STATIC_LIBRARY || + type == cmStateEnums::TargetType::MODULE_LIBRARY || type == cmStateEnums::TargetType::OBJECT_LIBRARY; }