diff options
| author | JF <JF002@users.noreply.github.com> | 2022-01-26 20:33:57 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-26 20:33:57 (GMT) |
| commit | a354650a9cf5e760c953dec153ab8a4d37266dd2 (patch) | |
| tree | f4bdddc9b11257683a44ae164bfaf43069d07482 /src/CMakeLists.txt | |
| parent | cc01d6ca173157c9bc871ec3e3fa9d4c9d3098d8 (diff) | |
| parent | 688dc2fed7b207bdf80b5f4af5a5df8faad9f2ec (diff) | |
Merge pull request #944 from NeroBurner/no_generated_files_in_source_dir
Create Version.h in binary dir instead of src dir
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 062d8a5..aec6ce0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -612,6 +612,7 @@ list(APPEND RECOVERYLOADER_SOURCE_FILES set(INCLUDE_FILES + ${CMAKE_CURRENT_BINARY_DIR}/src/Version.h BootloaderVersion.h logging/Logger.h logging/NrfLogger.h @@ -710,6 +711,7 @@ set(INCLUDE_FILES ) include_directories( + ${CMAKE_BINARY_DIR}/src # include generated files like Version.h . ../ libs/ |
