cmake/bochs: more strict dependency handling for libfailboch_external

The configure step for libfailbochs_external could be executed parallel
to other build steps, which required the files produced by the configure
step. Therefore a race-condition occurred. By giving the configure step
an explicit target name, more correct dependencies could be modeled
within bochs.cmake.

Change-Id: If2d7dafdace23b0eba6efcdff3ed0bfca2423048
This commit is contained in:
Christian Dietrich
2014-10-21 12:39:42 +02:00
parent 8fcbc7eeae
commit 7ee105016c
3 changed files with 11 additions and 2 deletions

View File

@ -7,7 +7,7 @@ set(SRCS
)
add_library(fail-efw ${SRCS})
add_dependencies(fail-efw fail-comm)
add_dependencies(fail-efw fail-protoc)
target_link_libraries(fail-efw fail-comm)
target_link_libraries(fail-efw fail-util) # WallclockTimer