@@ -627,7 +627,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
627627 #---what rootcling command to use--------------------------
628628 if (ARG_STAGE1)
629629 set (command $<TARGET_FILE:rootcling_stage1>)
630- set (ROOTCINTDEP rconfigure)
630+ set (ROOTCLINGDEP rconfigure)
631631 set (pcm_name)
632632 else ()
633633 if (CMAKE_PROJECT_NAME STREQUAL ROOT)
@@ -636,7 +636,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
636636 else ()
637637 set (command ${CMAKE_COMMAND} -E env "ROOTIGNOREPREFIX=1" $<TARGET_FILE:rootcling> -rootbuild)
638638 # Modules need RConfigure.h copied into include/.
639- set (ROOTCINTDEP rootcling rconfigure)
639+ set (ROOTCLINGDEP rootcling rconfigure)
640640 endif ()
641641 elseif (TARGET ROOT::rootcling)
642642 set (command $<TARGET_FILE:ROOT::rootcling>)
@@ -694,7 +694,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
694694 ROOT_PCM_FILENAME "${cpp_module_file} " )
695695 endif ()
696696
697- #---call rootcint ------------------------------------------
697+ #---call rootcling ------------------------------------------
698698 add_custom_command (
699699 OUTPUT ${dictionary} .cxx ${pcm_name} ${rootmap_name} ${cpp_module_file}
700700 COMMAND ${command} -v2 -f ${dictionary} .cxx ${newargs} ${excludepathsargs} ${rootmapargs}
@@ -709,7 +709,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
709709 # dictionaries will be rebuilt if the C++ standard is changed in an incremental build.
710710 -DR__DUMMY_CXX_STANDARD_${CMAKE_CXX_STANDARD}
711711 IMPLICIT_DEPENDS ${_implicitdeps}
712- DEPENDS ${_list_of_header_dependencies} ${_linkdef} ${ROOTCINTDEP }
712+ DEPENDS ${_list_of_header_dependencies} ${_linkdef} ${ROOTCLINGDEP }
713713 ${pcm_dependencies}
714714 ${MODULE_LIB_DEPENDENCY} ${ARG_EXTRA_DEPENDENCIES}
715715 ${runtime_cxxmodule_dependencies}
0 commit comments