diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-12-26 11:14:22 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-12-26 11:14:22 +0100 |
commit | 9f3d6e47e7bc7d3acf43a5ff86d3a82bbd4ad0a4 (patch) | |
tree | 2815cb52366c5e38b27882ff3ce40bf8248d1fb9 | |
parent | 80c0268c7abd7007e09cd9cc541b5292793a6009 (diff) | |
download | rockbox-9f3d6e47e7bc7d3acf43a5ff86d3a82bbd4ad0a4.tar.gz rockbox-9f3d6e47e7bc7d3acf43a5ff86d3a82bbd4ad0a4.zip |
rbutil: Remove generated header from giversion interface target.
cmake on Windows doesn't like this, and it's not necessary.
Change-Id: I65b9eb989e51df388cabcb36a246068dba80630c
-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) |