Browse Source

Merge pull request #1552 from rminderhoud/patch-1

Update config example function signature
Rémi Verschelde 7 years ago
parent
commit
a0a1a4183e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      development/cpp/custom_modules_in_cpp.rst

+ 1 - 1
development/cpp/custom_modules_in_cpp.rst

@@ -199,7 +199,7 @@ python script that must be named ``config.py``:
 
     # config.py
 
-    def can_build(platform):
+    def can_build(env, platform):
         return True
 
     def configure(env):