target_sources(cathook PRIVATE
    "${CMAKE_CURRENT_LIST_DIR}/MicroPather/micropather.cpp")

if(EnableClip AND EnableVisuals)
    target_sources(cathook PRIVATE
        "${CMAKE_CURRENT_LIST_DIR}/clip/src/clip.cpp"
        "${CMAKE_CURRENT_LIST_DIR}/clip/src/image.cpp"
        "${CMAKE_CURRENT_LIST_DIR}/clip/src/clip_x11.cpp")
endif()

target_include_directories(cathook PRIVATE "${CMAKE_CURRENT_LIST_DIR}/MicroPather")
target_include_directories(cathook PRIVATE "${CMAKE_CURRENT_LIST_DIR}/ucccccp")
target_include_directories(cathook PRIVATE "${CMAKE_CURRENT_LIST_DIR}/TF2_NavFile_Reader")
target_include_directories(cathook PRIVATE "${CMAKE_CURRENT_LIST_DIR}/clip/includes")

if(EnableIRC)
    add_subdirectory(chirc)
endif()
