File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ Your `CMakeLists.txt` should look something like the following:
1818
1919``` cmake
2020# CMakeLists.txt
21+ cmake_minimum_required(VERSION 3.14)
22+
23+ project(databento_example)
2124include(FetchContent)
2225
2326FetchContent_Declare(
@@ -27,8 +30,8 @@ FetchContent_Declare(
2730)
2831FetchContent_MakeAvailable(databento)
2932
30- add_library(my_library )
31- target_link_libraries(my_library PRIVATE databento::databento)
33+ add_executable(example main.cpp )
34+ target_link_libraries(example PRIVATE databento::databento)
3235```
3336
3437Alternatively, you can clone the source code from GitHub [ here] ( https://github.com/databento/databento-cpp ) .
@@ -52,7 +55,7 @@ In your project's `CMakeLists.txt`, add the following:
5255``` cmake
5356# CMakeLists.txt
5457find_package(databento REQUIRED)
55- target_link_libraries(your_target PRIVATE databento::databento)
58+ target_link_libraries(example PRIVATE databento::databento)
5659```
5760
5861### Dependencies
You can’t perform that action at this time.
0 commit comments