style fix

This commit is contained in:
Carlos Gomes Martinho 2017-12-15 09:39:27 +01:00 committed by GitHub
parent 2019477b48
commit ed30e7751d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.