Skip to content

Commit 25dc41b

Browse files
committed
Update Installation Methods
1 parent 02e90fb commit 25dc41b

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -376,23 +376,7 @@ For a complete example, see `examples/basic/modular_config_example.cpp`.
376376

377377
## Installation
378378

379-
### Option 1: vcpkg (Recommended for Most Users)
380-
381-
Once published to vcpkg (submission in progress), install with:
382-
383-
```bash
384-
vcpkg install databricks-sdk-cpp
385-
```
386-
387-
Then use in your CMake project:
388-
```cmake
389-
find_package(databricks_sdk CONFIG REQUIRED)
390-
target_link_libraries(my_app PRIVATE databricks_sdk::databricks_sdk)
391-
```
392-
393-
For maintainers: See [dev-docs/VCPKG_SUBMISSION.md](dev-docs/VCPKG_SUBMISSION.md) for the complete submission guide.
394-
395-
### Option 2: CMake FetchContent (Direct from GitHub)
379+
### Option 1: CMake FetchContent (Recommended - Direct from GitHub)
396380

397381
Add to your `CMakeLists.txt`:
398382

@@ -411,6 +395,22 @@ target_link_libraries(my_app PRIVATE databricks_sdk::databricks_sdk)
411395

412396
**Advantages**: No separate installation step, always gets the exact version you specify.
413397

398+
### Option 2: vcpkg
399+
400+
Once published to vcpkg (submission in progress), install with:
401+
402+
```bash
403+
vcpkg install databricks-sdk-cpp
404+
```
405+
406+
Then use in your CMake project:
407+
```cmake
408+
find_package(databricks_sdk CONFIG REQUIRED)
409+
target_link_libraries(my_app PRIVATE databricks_sdk::databricks_sdk)
410+
```
411+
412+
For maintainers: See [dev-docs/VCPKG_SUBMISSION.md](dev-docs/VCPKG_SUBMISSION.md) for the complete submission guide.
413+
414414
### Option 3: Manual Build and Install
415415

416416
```bash

0 commit comments

Comments
 (0)