Skip to content

Commit

Permalink
Improve the README
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Nov 9, 2024
1 parent b177d4b commit 3fed053
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ Bit7z can be used as a dependency in several alternative ways:
### Using [CPM.cmake](https://github.com/cpm-cmake/CPM.cmake)
```cmake
CPMAddPackage("gh:rikyoz/bit7z@<version>") # Replace <version> with the one you want to use.
# Set bit7z's build options you want here, e.g.:
CPMAddPackage("gh:rikyoz/bit7z@<version>") # Replace <version> with the desired one.
# Here you can set bit7z's build options you want, e.g.:
# set(BIT7Z_AUTO_FORMAT ON CACHE BOOL "enable auto format support" FORCE)
target_link_libraries(${YOUR_TARGET} PRIVATE bit7z)
```
Expand Down Expand Up @@ -315,7 +315,7 @@ For example:

```cmake
add_subdirectory(${CMAKE_SOURCE_DIR}/third_party/bit7z)
# Set bit7z's build options you want here, e.g.:
# Here you can set bit7z's build options you want, e.g.:
# set(BIT7Z_USE_NATIVE_STRING ON CACHE BOOL "enable using native OS strings" FORCE)
target_link_libraries(${YOUR_TARGET} PRIVATE bit7z)
```
Expand Down

0 comments on commit 3fed053

Please sign in to comment.