Skip to content

Commit ade0df6

Browse files
Update install-conan.md
1 parent b5a4c9c commit ade0df6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docpages/install/install-conan.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ To install D++ into a project using conan 2.0 and cmake:
77

88
```conanfile
99
[requires]
10-
dpp/10.0.29
10+
dpp/10.0.34
1111
1212
[generators]
1313
CMakeDeps
@@ -43,10 +43,11 @@ set(CMAKE_BUILD_TYPE Release)
4343
- Now run the following commands
4444

4545
```
46-
mkdir build && cd build
47-
conan install .. --build=missing -of=. -s build_type=Release
48-
cmake ..
49-
make
46+
mkdir build
47+
conan install . --output-folder=build --build=missing -s build_type=Release
48+
cd build
49+
cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake"
50+
cmake --build build --config Release
5051
```
5152

5253
- NOTE: build_type= needs to match whatever was set in your CMake or you will get linker issues.

0 commit comments

Comments
 (0)