cmake_minimum_required(VERSION 3.12) set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/boost") add_subdirectory(dynarmic) add_library(armv6k SHARED src/lib.cpp src/lib.h ) target_link_libraries(armv6k PRIVATE dynarmic) install(TARGETS armv6k LIBRARY DESTINATION .)