From dded7d945d2eed06ab32b7ccc1ab0ebb63398198 Mon Sep 17 00:00:00 2001 From: LTLA Date: Tue, 29 Aug 2023 16:14:42 -0700 Subject: [PATCH] Minor README fix, bumped version for publication. --- CMakeLists.txt | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e21ab5..6b25eb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.24) project(rds2cpp - VERSION 1.0.0 + VERSION 1.0.1 DESCRIPTION "Standalone C++ library for reading RDS files" LANGUAGES CXX) diff --git a/README.md b/README.md index 9f5c33d..49c443a 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ rds2cpp::write_rds(file_info, "my_env.rds"); If you're using CMake, you just need to add something like this to your `CMakeLists.txt`: -``` +```cmake include(FetchContent) FetchContent_Declare( @@ -192,7 +192,7 @@ FetchContent_MakeAvailable(rds2cpp) Then you can link to **rds2cpp** to make the headers available during compilation: -``` +```cmake # For executables: target_link_libraries(myexe rds2cpp)