From af5cdba15801d6504015d221b8757f28725079bd Mon Sep 17 00:00:00 2001 From: Julien Lamy Date: Tue, 3 Oct 2023 22:26:47 +0200 Subject: [PATCH] Clean up wrappers CMakeLists --- wrappers/python/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/wrappers/python/CMakeLists.txt b/wrappers/python/CMakeLists.txt index 76a960e..07e2dac 100644 --- a/wrappers/python/CMakeLists.txt +++ b/wrappers/python/CMakeLists.txt @@ -16,12 +16,9 @@ list(SORT header_files) list(SORT source_files) list(SORT python_files) -pybind11_add_module(pysycomore SHARED ${source_files} ${header_files}) +pybind11_add_module(pysycomore ${source_files} ${header_files}) -target_include_directories( - pysycomore - PRIVATE - ${CMAKE_SOURCE_DIR}/src ${PYTHON_INCLUDE_DIRS} ${xsimd_INCLUDE_DIRS}) +target_include_directories(pysycomore PRIVATE ${CMAKE_SOURCE_DIR}/src) target_link_libraries( pysycomore PUBLIC libsycomore Python::NumPy xtensor xtensor-python)