include(export_target)

add_siplasplas_library(pluginexample NO_INSTALL
SOURCES
    plugin.cpp
    reflectionruntimeloader.cpp
DEPENDS
    siplasplas-reflection
    plugininterface
INCLUDE_DIRS
    ${CMAKE_SOURCE_DIR}/examples/reflection
)

configure_siplasplas_reflection(pluginexample)
export_target_properties(pluginexample)

include(export_target)

add_siplasplas_library(pluginexample NO_INSTALL
SOURCES
    plugin.cpp
    reflectionruntimeloader.cpp
DEPENDS
    siplasplas-reflection-dynamic
    plugininterface
INCLUDE_DIRS
    ${CMAKE_SOURCE_DIR}/examples/reflection
)

configure_siplasplas_reflection(pluginexample)
export_target_properties(pluginexample)

Fix reflection dependency of plugin library, which broke plugin example
Fix reflection dependency of plugin library, which broke plugin example
