diff --git a/adm/qmake/OccToolkit.pri b/adm/qmake/OccToolkit.pri index 7d59a29ae3..abe95b51d3 100644 --- a/adm/qmake/OccToolkit.pri +++ b/adm/qmake/OccToolkit.pri @@ -77,8 +77,8 @@ for (aCfgIter, CONFIG) { # Define the list of standard OCCT file extensions aHxxRegex = ^.*\.(hxx|h|lxx|gxx)$ aPxxRegex = ^.*\.(pxx)$ -aCxxRegex = ^.*\.(cxx|c)$ -mac { aCxxRegex = ^.*\.(cxx|c|m|mm)$ } +aCxxRegex = ^.*\.(cxx|cpp|c)$ +mac { aCxxRegex = ^.*\.(cxx|cpp|c|m|mm)$ } # Auxiliary function for probing file extension defineTest (occCheckExtension) {