Fix style in CMake example usage

This commit is contained in:
Robin Linden
2020-04-23 22:28:18 +02:00
parent fba2f45649
commit aea84b1abb

View File

@@ -30,11 +30,10 @@ make test
## Using in your project
```cmake
FetchContent_Declare(
Sodium
FetchContent_Declare(Sodium
GIT_REPOSITORY https://github.com/robinlinden/libsodium-cmake.git
)
set(SODIUM_DISABLE_TESTS ON CACHE INTERNAL "")
set(SODIUM_DISABLE_TESTS ON)
FetchContent_MakeAvailable(Sodium)
target_link_libraries(${PROJECT_NAME}