Skip to content
Snippets Groups Projects
Commit 79f72b47 authored by Marc-Olivier Andrez's avatar Marc-Olivier Andrez
Browse files

ci: fix errors when compiling from a directory that is not a direct subdirectory

CMake was not generating the files `version.h` and `version_lib.go` into
the project source directory when building from a subdirectory such as
`./build/debug/`. So these files could not be found during compilation.
parent c6ce61aa
Branches
No related tags found
No related merge requests found
string(TIMESTAMP TIMESTAMP "%H:%M:%S %d.%m.%Y UTC" UTC)
configure_file( ${PROJECT_SOURCE_DIR}/common/cpp/include/asapo/common/internal/version.h.in ../common/cpp/include/asapo/common/internal/version.h @ONLY)
configure_file( ${PROJECT_SOURCE_DIR}/common/go/src/asapo_common/version/version_lib.go.in ../common/go/src/asapo_common/version/version_lib.go @ONLY)
configure_file(
${PROJECT_SOURCE_DIR}/common/cpp/include/asapo/common/internal/version.h.in
${PROJECT_SOURCE_DIR}/common/cpp/include/asapo/common/internal/version.h @ONLY
)
configure_file(
${PROJECT_SOURCE_DIR}/common/go/src/asapo_common/version/version_lib.go.in
${PROJECT_SOURCE_DIR}/common/go/src/asapo_common/version/version_lib.go @ONLY
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment