
# -- lisabeta.struct.pystruct --

set(import_path "lisabeta/struct")
set(import_name "pystruct")
set(supplementary_sources "struct.c") # Separate with ; (e.g. "file1.c;file2.c")
set(supplementary_links "") # Separate with ; (e.g. "GSL::gsl;fftw3")

define_lisabeta_extension(
    ${import_path} ${import_name} ${pyx_filename}
    "${supplementary_sources}" "${supplementary_links}")

target_link_libraries(lisabeta_struct_pystruct_base PUBLIC GSL::gsl)
set_target_properties(lisabeta_struct_pystruct_base PROPERTIES POSITION_INDEPENDENT_CODE TRUE)