diff --git a/modules/hal_nordic/nrfx/CMakeLists.txt b/modules/hal_nordic/nrfx/CMakeLists.txt index 56ba8f95e34..55911170d96 100644 --- a/modules/hal_nordic/nrfx/CMakeLists.txt +++ b/modules/hal_nordic/nrfx/CMakeLists.txt @@ -129,7 +129,7 @@ if(CONFIG_NRFX_TWI OR CONFIG_NRFX_TWIM) endif() if (CONFIG_NRF_GRTC_TIMER AND CONFIG_NRF_GRTC_TIMER_CLOCK_MANAGEMENT) - zephyr_library_compile_definitions(NRF_GRTC_HAS_EXTENDED=1) + zephyr_compile_definitions(NRF_GRTC_HAS_EXTENDED=1) endif() # Inject HAL "CONFIG_NFCT_PINS_AS_GPIOS" definition if user requests to