mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
style fix
This commit is contained in:
parent
2019477b48
commit
ed30e7751d
@ -99,18 +99,17 @@ Example for Linux:
|
|||||||
```cmake
|
```cmake
|
||||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp)
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
include_directories(
|
||||||
${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp/include
|
${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp/include
|
||||||
)
|
)
|
||||||
|
|
||||||
ADD_executable(main src/main.cpp)
|
add_executable(main src/main.cpp)
|
||||||
target_link_libraries(main
|
target_link_libraries(main
|
||||||
SQLiteCpp
|
SQLiteCpp
|
||||||
sqlite3
|
sqlite3
|
||||||
pthread
|
pthread
|
||||||
dl
|
dl
|
||||||
)
|
)
|
||||||
|
|
||||||
```
|
```
|
||||||
Thus this SQLiteCpp repository can be directly used as a Git submoldule.
|
Thus this SQLiteCpp repository can be directly used as a Git submoldule.
|
||||||
See the [SQLiteCpp_Example](https://github.com/SRombauts/SQLiteCpp_Example) side repository for a standalone "from scratch" example.
|
See the [SQLiteCpp_Example](https://github.com/SRombauts/SQLiteCpp_Example) side repository for a standalone "from scratch" example.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user