We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b31efe commit 5fee676Copy full SHA for 5fee676
example/CMakeLists.txt
@@ -9,11 +9,14 @@ ExternalProject_Add(tikv
9
SOURCE_DIR ${CMAKE_SOURCE_DIR}/../
10
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNAL_INSTALL_LOCATION}
11
)
12
+
13
include_directories(${EXTERNAL_INSTALL_LOCATION}/include)
14
link_directories(${EXTERNAL_INSTALL_LOCATION}/lib)
15
-
16
add_executable(raw raw.cpp)
17
-target_link_libraries(raw tikvcpp tikvrust pthread dl ssl crypto)
18
add_executable(txn txn.cpp)
19
+add_dependencies(raw tikv)
20
+add_dependencies(txn tikv)
21
+target_link_libraries(raw tikvcpp tikvrust pthread dl ssl crypto)
22
target_link_libraries(txn tikvcpp tikvrust pthread dl ssl crypto)
0 commit comments