spike-diff/CMakeLists.txt
2024-08-05 20:09:40 +08:00

11 lines
293 B
CMake

cmake_minimum_required(VERSION 3.26)
project(spike-diff)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD 17)
include(FindPkgConfig)
pkg_check_modules(riscv-riscv REQUIRED IMPORTED_TARGET riscv-riscv)
pkg_check_modules(riscv-fesvr REQUIRED IMPORTED_TARGET riscv-fesvr)
add_subdirectory(lib)