Skip to content

Commit

Permalink
cmake: fix xenbemock dependency
Browse files Browse the repository at this point in the history
With newer cmake version xenbemock build is broken due to Version.hpp is not
generated. The fix is to add Version target dependency to xenbemock.

Signed-off-by: Oleksandr Grytsov <[email protected]>
  • Loading branch information
al1img committed Apr 16, 2018
1 parent 0394853 commit d422790
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ endif()
if(WITH_TEST)
enable_testing()
add_subdirectory(tests)
add_dependencies(xenbemock Version)
if (CMAKE_BUILD_TYPE STREQUAL "Coverage")
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules)
include(CodeCoverage)
Expand Down

0 comments on commit d422790

Please sign in to comment.