Skip to content

Commit

Permalink
Merge branch 'bugfix/adf_ver_error' into 'master'
Browse files Browse the repository at this point in the history
esp_adf: Fix ADF_VER error when not under ADF subfolder

See merge request adf/esp-adf-internal!1270
  • Loading branch information
jason-mao committed Feb 4, 2024
2 parents 48dea77 + 698deec commit 6bebbfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
execute_process(COMMAND git describe --always --tags --dirty
OUTPUT_VARIABLE ADF_VER
OUTPUT_STRIP_TRAILING_WHITESPACE)
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
add_definitions(-DADF_VER=\"${ADF_VER}\")

if(NOT DEFINED ENV{IDF_PATH})
Expand Down

0 comments on commit 6bebbfd

Please sign in to comment.