Skip to content

Commit a6e684b

Browse files
authored
Merge pull request #3 from Excse/master
Revise README build instructions for clarity and update CMake options
2 parents 195b67a + db00643 commit a6e684b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@ Download the project or use git to clone it:
2020
$ git clone https://github.com/Excse/AresByteCode.git
2121
```
2222

23-
Install libzip (if not already on the system) to enable the building of the library.
24-
```sh
25-
$ sudo apt install libzip-dev
26-
```
27-
2823
Navigate to the directory where the project is located and execute these commands:
2924
```sh
30-
$ cmake -S . -B build -DBUILD_TESTING=OFF
25+
$ cmake -S . -B build -DBUILD_TESTING=OFF -DMAKE_INSTALLABLE=ON -DBUILD_SHARED_LIBS=OFF
3126
$ cmake --build build
3227
$ cmake --install build
3328
$ sudo make install
@@ -40,5 +35,5 @@ and in CMakeLists.txt:
4035
```cmake
4136
find_package(aresbc CONFIG REQUIRED)
4237
43-
target_link_libraries(!!PROJECT_NAME!! PRIVATE ${LIBARESBC_LIBRARY})
38+
target_link_libraries(<PROJECT_NAME> PRIVATE aresbc::aresbc)
4439
```

0 commit comments

Comments
 (0)