# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt

add_library(hello hello.cxx)
set_property(TARGET hello PROPERTY POSITION_INDEPENDENT_CODE ON)

autopybind11_add_module("nested_no_structure" YAML_INPUT ${CMAKE_CURRENT_SOURCE_DIR}/wrapper_input.yml
                        CONFIG_INPUT ${CMAKE_CURRENT_SOURCE_DIR}/config.yml
                        DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
                        LINK_LIBRARIES hello)
