From a8b9d7eb277d4ce8949427b7c6ab6af92422ae83 Mon Sep 17 00:00:00 2001 From: kgv Date: Thu, 29 Oct 2020 17:18:10 +0300 Subject: [PATCH] 0031888: Configuration, qmake - linkage error due to missing .cpp file in TKMesh OccToolkit.pri now handles also .cpp file extension. --- adm/qmake/OccToolkit.pri | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {