Skip to content

Commit

Permalink
Fix dependency and compile. (vesoft-inc#70)
Browse files Browse the repository at this point in the history
* Fix dependency.

* Fix compile.
  • Loading branch information
CPWstatic authored Jun 11, 2020
1 parent 1f24bef commit 3315d04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ macro(nebula_add_executable)
${nebula_exec_NAME}
${nebula_exec_LIBRARIES}
)
add_dependencies(
${nebula_exec_NAME}
common_project
)
endmacro()

macro(nebula_add_test)
Expand Down
2 changes: 1 addition & 1 deletion src/mock/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

add_library(
nebula_add_library(
mock_obj OBJECT
MockCluster.cpp
MockData.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The base_obj is a basic library. Other libraries are not allowed to depend on it.

add_library(
nebula_add_library(
keyutils_obj OBJECT
NebulaKeyUtils.cpp
IndexKeyUtils.cpp
Expand Down

0 comments on commit 3315d04

Please sign in to comment.