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
18 lines
439 B
CMake
18 lines
439 B
CMake
set(SRCS
|
|
CoroutineManager.hpp
|
|
CoroutineManager.cc
|
|
ExperimentFlow.hpp
|
|
JobClient.hpp
|
|
JobClient.cc
|
|
)
|
|
|
|
add_library(fail-efw ${SRCS})
|
|
add_dependencies(fail-efw fail-protoc)
|
|
target_link_libraries(fail-efw fail-comm)
|
|
target_link_libraries(fail-efw fail-util) # WallclockTimer
|
|
|
|
find_package(LibPCL REQUIRED)
|
|
include_directories(${LIBPCL_INCLUDE_DIRS})
|
|
link_directories(${LIBPCL_LINK_DIRS})
|
|
target_link_libraries(fail-efw ${LIBPCL_LIBRARIES})
|