comparison dep/animone/CMakeLists.txt @ 366:886f66775f31

animone: add preliminary AT-SPI stuff anime_list: finish the regular singular right click menu
author Paper <paper@tflc.us>
date Sun, 17 Nov 2024 19:56:01 -0500
parents 1faa72660932
children
comparison
equal deleted inserted replaced
365:f81bed4e04ac 366:886f66775f31
85 list(APPEND DEFINES USE_X11) 85 list(APPEND DEFINES USE_X11)
86 list(APPEND LIBRARIES ${XCB_LINK_LIBRARIES}) 86 list(APPEND LIBRARIES ${XCB_LINK_LIBRARIES})
87 list(APPEND INCLUDE_DIRS ${XCB_INCLUDE_DIRS}) 87 list(APPEND INCLUDE_DIRS ${XCB_INCLUDE_DIRS})
88 list(APPEND SRC_FILES src/win/x11.cc) 88 list(APPEND SRC_FILES src/win/x11.cc)
89 endif() # XCB_FOUND 89 endif() # XCB_FOUND
90
91 pkg_check_modules(ATSPI atspi-2)
92 if (ATSPI_FOUND)
93 list(APPEND DEFINES USE_ATSPI)
94 list(APPEND LIBRARIES ${ATSPI_LINK_LIBRARIES})
95 list(APPEND INCLUDE_DIRS ${ATSPI_INCLUDE_DIRS})
96 list(APPEND SRC_FILES src/a11y/atspi.cc)
97 endif() # ATSPI_FOUND
90 endif() # PKG_CONFIG_FOUND 98 endif() # PKG_CONFIG_FOUND
91 99
92 add_library(animia SHARED ${SRC_FILES}) 100 add_library(animia SHARED ${SRC_FILES})
93 set_target_properties(animia PROPERTIES 101 set_target_properties(animia PROPERTIES
94 PUBLIC_HEADER include/animia.h 102 PUBLIC_HEADER include/animia.h