From 8d11b5c608f7785deef24700d2c60a872c0671ce Mon Sep 17 00:00:00 2001 From: Oksana Shadura <oksana.shadura@cern.ch> Date: Thu, 23 Aug 2018 14:07:34 +0200 Subject: [PATCH] Adjust a modulemap file to be able to treat separate .c files --- build/unix/module.modulemap | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/unix/module.modulemap b/build/unix/module.modulemap index eeaf79b9b13..71d36957646 100644 --- a/build/unix/module.modulemap +++ b/build/unix/module.modulemap @@ -61,4 +61,13 @@ module ROOT_Foundation_Stage1_NoRTTI [system] { // link "lib/libGLEW.so" //} +// We have a few c files scattered all over graf3d. We need to have a module +// which is built in C mode, to prevent trying to build the entire Graf3d module +// within a C context. +module "Graf3D.X3DBuffer.h_C" { + requires !cplusplus + header "X3DBuffer.h" + export * +} + // From this point on the contents of this file are automatically generated. -- GitLab