include_directories( ${KOMAIN_INCLUDES} ${FLAKE_INCLUDES}  ${CMAKE_SOURCE_DIR}/stage/part ${CMAKE_SOURCE_DIR}/stage/part/pageeffects )

set(kpr_pageeffect_spacerotation_PART_SRCS Plugin.cpp
    KPrSpaceRotationEffectFactory.cpp
    KPrSpaceRotationFromBottomStrategy.cpp
    KPrSpaceRotationFromTopStrategy.cpp
    KPrSpaceRotationFromRightStrategy.cpp
    KPrSpaceRotationFromLeftStrategy.cpp
)

add_library(kpr_pageeffect_spacerotation MODULE ${kpr_pageeffect_spacerotation_PART_SRCS})

calligrastage_pageeffect_desktop_to_json(kpr_pageeffect_spacerotation kpr_pageeffect_spacerotation.desktop)

target_link_libraries(
    kpr_pageeffect_spacerotation
    calligrastageprivate
    flake

    
    Qt5::Core
    Qt5::Gui
    )

install(TARGETS kpr_pageeffect_spacerotation  DESTINATION ${PLUGIN_INSTALL_DIR}/calligrastage/pageeffects)
