fix for scons with recent change to how BINRELOC is enabled via cmake.
[blender.git] / build_files / cmake / cmake_qtcreator_project.py
index ca214338298edc4b1a32858c2e894a4ca3437090..925aee564b8b1ae126d6c610e874e966a4cfc1f9 100644 (file)
@@ -94,6 +94,8 @@ qtc_cfg = join(base, "%s.config" % PROJECT_NAME)
 if not exists(qtc_cfg):
     f = open(qtc_cfg, 'w')
     f.write("// ADD PREDEFINED MACROS HERE!\n")
+    # todo, include real defines.
+    f.write("#define WITH_PYTHON\n")
 
 print("Project file written to: %s" % qtc_prj)
 # --- end