Skip to content

Commit 48cf0c2

Browse files
authored
Apply suggestions from code review
1 parent 07dfcc6 commit 48cf0c2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.19)
22

33
set(CURRENT_PROJECT "OpenSimplex2Interface")
44

5-
option(OPENSIMPLEX_C "Enable build old C implementation instead Rust" OFF)
6-
option(OPENSIMPLEX_RUST "Enable build old C implementation instead Rust" ON)
5+
option(OPENSIMPLEX_C "Enable/Disable build of the old C implementation" OFF)
6+
option(OPENSIMPLEX_RUST "Enable/Disable build of the main Rust implementation" ON)
77

88

99
add_library(${CURRENT_PROJECT} INTERFACE)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ You can enable both backends simultaneously if needed.
7070
To override the default options, use:
7171

7272
```cmake
73-
option(OPENSIMPLEX_C "Enable build old C implementation instead Rust" ON)
74-
option(OPENSIMPLEX_RUST "Enable build old C implementation instead Rust" ON)
73+
option(OPENSIMPLEX_C "Enable/Disable build of the old C implementation" OFF)
74+
option(OPENSIMPLEX_RUST "Enable/Disable build of the main Rust implementation" ON)
7575
```
7676

7777
### Including in C/C++ Projects

rust/OpenSimplex2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef OPENSIMPLEX2_H
2-
2+
#define OPENSIMPLEX2_H
33

44
#ifdef __cplusplus
55
extern "C" {

0 commit comments

Comments
 (0)