"docs/zh_cn/advanced_guides/customize_dataset.md" did not exist on "cf922153ebc0fa24d65b585a08c77f1cab60364f"
  • Daniel Falbel's avatar
    Add options to conditionally include Python (#196) · 8cc819d5
    Daniel Falbel authored
    * Add `WITH_PYTHON` to conditionally link to Python.
    
    * Only include `Python.h` when WITH_PYTHON is set.
    
    * Avoid including extensions.h as it includes Python.h.
    
    * Better way to include `getpid()`.
    
    * Define `WITH_PYTHON` when building with setup.py.
    
    * Only include Pyinit when building with Python.
    
    * Only include Pyinit when building with Python.
    8cc819d5
CMakeLists.txt 2.79 KB