Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Library depending on debug build of PythonQt will link against correc…
…t python library Since CTK now depends on the 'patched-2' branch of PythonQt, this is required to ensure the _DEBUG macro will be undefined within PythonQtPythonInclude.h. By undefining _DEBUG, both PythonQt or any library linking against it can successfully link against release python library. See https://github.com/commontk/PythonQt/blob/6366f002a93aa238c55f58de949d09c552cda5a9/src/PythonQtPythonInclude.h#L62 This will fix error like the following: 19>3>5>Generating moc_ctkVTKConnection.cxx 19>3>4>LINK : fatal error LNK1104: cannot open file 'python26_d.lib' See issue commontk#203
- Loading branch information