Skip to content

Commit

Permalink
fixed dependencies on db.h #869
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwalsh committed Dec 24, 2013
1 parent a7fe569 commit 0651445
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/mongo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ add_executable(mongod
db/db
db/commands/touch
)
add_dependencies(mongod generate_error_codes generate_action_types)
add_dependencies(mongod generate_error_codes generate_action_types install_tdb_h)

target_link_libraries(mongod
${TokuBackup_LIBRARIES}
Expand Down Expand Up @@ -167,7 +167,7 @@ foreach (tool
bridge
)
add_executable(mongo${tool} tools/${tool})
add_dependencies(mongo${tool} generate_error_codes generate_action_types)
add_dependencies(mongo${tool} generate_error_codes generate_action_types install_tdb_h)
target_link_whole_libraries(mongo${tool}
alltools
base
Expand Down
4 changes: 2 additions & 2 deletions src/mongo/db/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ add_library(coredb STATIC
storage/key
../s/shardconnection
)
add_dependencies(coredb generate_error_codes generate_action_types)
add_dependencies(coredb generate_error_codes generate_action_types install_tdb_h)
target_link_libraries(coredb LINK_PRIVATE
serverauth
db_common
Expand Down Expand Up @@ -197,7 +197,7 @@ add_library(serveronly STATIC
../s/d_chunk_manager
module
)
add_dependencies(serveronly generate_error_codes generate_action_types)
add_dependencies(serveronly generate_error_codes generate_action_types install_tdb_h)
target_link_libraries(serveronly LINK_PRIVATE
coreshard
authmongod
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/dbtests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ target_link_libraries(mocklib LINK_PRIVATE
file(GLOB testfiles *.cpp)
list(REMOVE_ITEM testfiles framework.cpp)
add_executable(smokeTest ${testfiles})
add_dependencies(smokeTest generate_error_codes generate_action_types)
add_dependencies(smokeTest generate_error_codes generate_action_types install_tdb_h)
target_link_whole_libraries(smokeTest
mongocommon
serveronly
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ add_library(plugins STATIC
dl
loader
)
add_dependencies(plugins generate_error_codes generate_action_types)
add_dependencies(plugins generate_error_codes generate_action_types install_tdb_h)
target_link_libraries(plugins LINK_PRIVATE
dl
)
Expand Down

0 comments on commit 0651445

Please sign in to comment.