diff --git a/src/Tools/fcbt/CreateModule.py b/src/Tools/fcbt/CreateModule.py index 493b33ddf..b0eebbd00 100644 --- a/src/Tools/fcbt/CreateModule.py +++ b/src/Tools/fcbt/CreateModule.py @@ -92,6 +92,7 @@ def createApp(Application): # replace the _TEMPLATE_ string by sys.stdout.write("Modifying files...\n") MakeAppTools.replaceTemplate("../Mod/" + Application,"_TEMPLATE_",Application) + MakeAppTools.replaceTemplate("../Mod/" + Application,"${CMAKE_SOURCE_DIR}/src/Tools/","${CMAKE_SOURCE_DIR}/src/Mod/") # make the congigure script executable #os.chmod("../Mod/" + Application + "/configure", 0777); sys.stdout.write("Modifying files done.\n")