diff options
-rw-r--r-- | utils/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 55e2a60407..b487e78efe 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt | |||
@@ -343,8 +343,7 @@ add_custom_target(gitversion.h | |||
343 | BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/gitversion/gitversion.h) | 343 | BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/gitversion/gitversion.h) |
344 | 344 | ||
345 | # link to get git version header. | 345 | # link to get git version header. |
346 | add_library(gitversion INTERFACE | 346 | add_library(gitversion INTERFACE) |
347 | ${CMAKE_CURRENT_BINARY_DIR}/gitversion/gitversion.h) | ||
348 | 347 | ||
349 | add_dependencies(gitversion gitversion.h) | 348 | add_dependencies(gitversion gitversion.h) |
350 | target_include_directories(gitversion INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/gitversion) | 349 | target_include_directories(gitversion INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/gitversion) |