From c9818d5eead2601c36d8d67d77f3e9c3a939bbee Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Tue, 30 Jan 2024 14:27:25 +0800 Subject: [PATCH] cmake: modules: generated_file_directories: fix paths The paths that got assigned to these variable don't quite match the description, likely a typo, fix that. Signed-off-by: Yong Cong Sin --- cmake/modules/generated_file_directories.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/generated_file_directories.cmake b/cmake/modules/generated_file_directories.cmake index aac3b39a6f..9b18e1794d 100644 --- a/cmake/modules/generated_file_directories.cmake +++ b/cmake/modules/generated_file_directories.cmake @@ -19,6 +19,6 @@ include_guard(GLOBAL) # Optional environment variables: # None -set(BINARY_DIR_INCLUDE ${PROJECT_BINARY_DIR}/include/generated) -set(BINARY_DIR_INCLUDE_GENERATED ${PROJECT_BINARY_DIR}/include/generated) +set(BINARY_DIR_INCLUDE ${PROJECT_BINARY_DIR}/include) +set(BINARY_DIR_INCLUDE_GENERATED ${BINARY_DIR_INCLUDE}/generated) file(MAKE_DIRECTORY ${BINARY_DIR_INCLUDE_GENERATED})