From be69da6f135a18dcbd9fabc7599711d2f0a970e9 Mon Sep 17 00:00:00 2001 From: Isaac Morales Date: Sat, 27 Jul 2024 17:34:23 +0200 Subject: [PATCH] Add -cxxmodule flag --- cmake/FindROOT.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindROOT.cmake b/cmake/FindROOT.cmake index 7e7b01a19..922d6248e 100644 --- a/cmake/FindROOT.cmake +++ b/cmake/FindROOT.cmake @@ -196,7 +196,7 @@ function(REFLEX_GENERATE_DICTIONARY dictionary) #set(rootmapopts --rootmap=${rootmapname} --rootmap-lib=${libprefix}${dictionary}Dict) #---Actual command---------------------------------------- add_custom_command(OUTPUT ${gensrcdict} ${rootmapname} ${dictionary}_rdict.pcm - COMMAND ${LAUNCHER} ${ROOTCLING_EXECUTABLE} --reflex -o ${gensrcdict} ${rootmapopts} ${headerfiles} ${selectionfile} --noIncludePaths -inlineInputHeader + COMMAND ${LAUNCHER} ${ROOTCLING_EXECUTABLE} --reflex -cxxmodule -o ${gensrcdict} ${rootmapopts} ${headerfiles} ${selectionfile} --noIncludePaths -inlineInputHeader ${ARG_OPTIONS} ${includedirs} ${definitions} DEPENDS ${headerfiles} ${selectionfile}) endfunction()