Skip to content

Commit

Permalink
build: Specify project source directory for configured header templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrielcarvfer committed Oct 11, 2024
1 parent 4492fa9 commit d0b0818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-support/macros-and-definitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ macro(process_options)

# Process config-store-config
configure_file(
build-support/config-store-config-template.h
${PROJECT_SOURCE_DIR}/build-support/config-store-config-template.h
${CMAKE_HEADER_OUTPUT_DIRECTORY}/config-store-config.h
)

Expand Down Expand Up @@ -1119,7 +1119,7 @@ macro(process_options)
check_function_exists("getenv" "HAVE_GETENV")

configure_file(
build-support/core-config-template.h
${PROJECT_SOURCE_DIR}/build-support/core-config-template.h
${CMAKE_HEADER_OUTPUT_DIRECTORY}/core-config.h
)

Expand Down

0 comments on commit d0b0818

Please sign in to comment.