From: Pere Mato Date: Wed, 21 Jan 2015 14:28:49 +0000 (+0100) Subject: Fix in FindROOT.cmake to adapt to new rootcint requirements - ROOT-7039 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=3be930a650bd27e2f6b8e252b3994dfc80580ebd Fix in FindROOT.cmake to adapt to new rootcint requirements - ROOT-7039 --- diff --git a/etc/cmake/FindROOT.cmake b/etc/cmake/FindROOT.cmake index fe9be07..429d260 100644 --- a/etc/cmake/FindROOT.cmake +++ b/etc/cmake/FindROOT.cmake @@ -104,7 +104,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary) unset(linkFile CACHE) endforeach() #---call rootcint------------------------------------------ - add_custom_command(OUTPUT ${dictionary}.cxx ${dictionary}.h + add_custom_command(OUTPUT ${dictionary}.cxx COMMAND ${ROOTCINT_EXECUTABLE} -cint -f ${dictionary}.cxx -c ${ARG_OPTIONS} ${includedirs} ${headerfiles} ${linkdefs} DEPENDS ${headerfiles} ${linkdefs} VERBATIM)