Skip to content

Commit

Permalink
Add RI_ADV_EXTENDED_ENABLED=1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSomeMan committed Sep 27, 2024
1 parent e5458aa commit 9efe734
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ idf_component_register(
ruuvi.endpoints.c
)

target_compile_definitions(${COMPONENT_LIB} PRIVATE RI_ADV_EXTENDED_ENABLED=1)
target_compile_definitions(__idf_ruuvi.endpoints.c PRIVATE RI_ADV_EXTENDED_ENABLED=1)

else()

project(ruuvi_comm_tester)
Expand Down Expand Up @@ -68,6 +71,7 @@ set_target_properties(${ProjectId} PROPERTIES

target_compile_definitions(${ProjectId} PUBLIC
_DEFAULT_SOURCE
RI_ADV_EXTENDED_ENABLED=1
)

target_compile_options(${ProjectId} PUBLIC
Expand Down

0 comments on commit 9efe734

Please sign in to comment.