Skip to content

Commit

Permalink
Clean up wrappers CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Oct 3, 2023
1 parent 90948f6 commit af5cdba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions wrappers/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit af5cdba

Please sign in to comment.