Browse Source

Fix behaviour of internal property

The attribute 'enterprise' in conanfile.py was incorrectly named and has been renamed to 'internal'.
This revision ensures that options are accessed correctly to avoid potential issues in usage.

Contributes to CURA-10831
Jelle Spijker 1 year ago
parent
commit
f94198c108
1 changed files with 1 additions and 1 deletions
  1. 1 1
      conanfile.py

+ 1 - 1
conanfile.py

@@ -86,7 +86,7 @@ class CuraConan(ConanFile):
 
     @property
     def _internal(self):
-        return self.options.enterprise in ["True", 'true']
+        return self.options.internal in ["True", 'true']
 
     @property
     def _app_name(self):