rbutil: Remove generated header from giversion interface target.
cmake on Windows doesn't like this, and it's not necessary. Change-Id: I65b9eb989e51df388cabcb36a246068dba80630c
This commit is contained in:
parent
80c0268c7a
commit
9f3d6e47e7
1 changed files with 1 additions and 2 deletions
|
@ -343,8 +343,7 @@ add_custom_target(gitversion.h
|
|||
BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/gitversion/gitversion.h)
|
||||
|
||||
# link to get git version header.
|
||||
add_library(gitversion INTERFACE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/gitversion/gitversion.h)
|
||||
add_library(gitversion INTERFACE)
|
||||
|
||||
add_dependencies(gitversion gitversion.h)
|
||||
target_include_directories(gitversion INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/gitversion)
|
||||
|
|
Loading…
Reference in a new issue