cmake_minimum_required(VERSION 3.31) project(lk_blingfire) set(CMAKE_CXX_STANDARD 17) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) find_package(Python REQUIRED COMPONENTS Interpreter Development.Module) find_package(pybind11 REQUIRED) message(STATUS "Using Python: ${PYTHON_EXECUTABLE}") include(FetchContent) FetchContent_Declare(blingfire GIT_REPOSITORY https://github.com/microsoft/BlingFire) FetchContent_MakeAvailable(blingfire) include_directories(${blingfire_SOURCE_DIR}) pybind11_add_module(lk_blingfire src/main.cpp) target_link_libraries(lk_blingfire PRIVATE blingfiretokdll_static fsaClient)