mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
The current version was copied from `antithesis-sdk-cpp` but there is no logical reason to require this specific version of CMake. This change downgrades the version to make the project build with older CMake versions.
18 lines
499 B
CMake
18 lines
499 B
CMake
cmake_minimum_required(VERSION 3.18)
|
|
|
|
# Note, version set explicitly by rippled project
|
|
project(antithesis-sdk-cpp VERSION 0.4.4 LANGUAGES CXX)
|
|
|
|
add_library(antithesis-sdk-cpp INTERFACE antithesis_sdk.h)
|
|
|
|
# Note, both sections below created by rippled project
|
|
target_include_directories(antithesis-sdk-cpp INTERFACE
|
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
)
|
|
|
|
install(
|
|
FILES antithesis_sdk.h
|
|
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
|
)
|