Skip to content

Commit

Permalink
[no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacyking authored Feb 29, 2024
1 parent f21933f commit 1252344
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ cmake --build build --config Debug

## 作为第三方库引入

1. mysql
mysql
```cmake
set(ENABLE_MYSQL ON)
add_definitions(-DORMPP_ENABLE_MYSQL)
Expand All @@ -210,7 +210,7 @@ target_link_libraries(ormpp INTERFACE ${MYSQL_LIBRARY})
target_include_directories(ormpp INTERFACE ormpp ormpp/ormpp ${MYSQL_INCLUDE_DIR})
```

2. sqlite
sqlite
```cmake
set(ENABLE_SQLITE3 ON)
add_definitions(-DORMPP_ENABLE_SQLITE3)
Expand All @@ -225,7 +225,7 @@ target_link_libraries(ormpp INTERFACE sqlite3)
target_include_directories(ormpp INTERFACE ormpp ormpp/ormpp thirdparty/sqlite3)
```

3. pg
pg
```cmake
set(ENABLE_PG ON)
add_definitions(-DORMPP_ENABLE_PG)
Expand Down

0 comments on commit 1252344

Please sign in to comment.