From a35134a5ca66a5cc8e332a1820459cdebf13dfaa Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Tue, 26 Jul 2022 13:09:25 +0800 Subject: [PATCH] cmake: fix version.h path --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce476074..b98921e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,7 +119,7 @@ endif() configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/version.h.ini - ${CMAKE_BINARY_DIR}/version.h + ${CMAKE_CURRENT_BINARY_DIR}/version.h @ONLY) message(STATUS "Git version is ${BRANCH_NAME}:${COMMIT_HASH}:${BUILD_TIME}")