[PACKAGING] sdist now generates working .tar.gz file

This commit is contained in:
Philippe Tillet
2020-05-04 10:43:38 -04:00
committed by Philippe Tillet
parent 769c1180c5
commit 24586e60aa
2 changed files with 7 additions and 7 deletions

View File

@@ -33,8 +33,8 @@ endif()
if(BUILD_PYTHON_MODULE)
message(STATUS "Adding Python module")
# PyBind11 wrapper source file
file(GLOB_RECURSE PYTHON_SRC python/src/bindings.cc)
include_directories(python/src/ ${PYTHON_INCLUDE_DIRS})
set(PYTHON_SRC bindings.cc)
include_directories("." ${PYTHON_INCLUDE_DIRS})
endif()