Skip to content

Commit f7a9e30

Browse files
erlingrjlhstrh
authored andcommitted
Rename CORE_COMPILE_DEFS to REACTORC_COMPILE_DEFS
1 parent 206b373 commit f7a9e30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ else()
5656
endif()
5757

5858
# Apply compile definitions to the reactor-c library.
59-
target_compile_definitions(reactor-c PUBLIC ${CORE_COMPILE_DEFS})
59+
target_compile_definitions(reactor-c PUBLIC ${REACTORC_COMPILE_DEFS})
6060

6161
target_include_directories(reactor-c PUBLIC ../include)
6262
target_include_directories(reactor-c PUBLIC ../include/core)

core/platform/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
1818
set(CMAKE_SYSTEM_VERSION 10.0)
1919
message("Using Windows SDK version ${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}")
2020
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Nrf52")
21-
list(APPEND CORE_COMPILE_DEFS PLATFORM_NRF52)
21+
list(APPEND REACTORC_COMPILE_DEFS PLATFORM_NRF52)
2222
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Zephyr")
23-
list(APPEND CORE_COMPILE_DEFS PLATFORM_ZEPHYR)
23+
list(APPEND REACTORC_COMPILE_DEFS PLATFORM_ZEPHYR)
2424
set(PLATFORM_ZEPHYR true)
2525
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Stm32")
2626
target_compile_definitions(core PUBLIC PLATFORM_STM32F4)
2727
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Rp2040")
28-
list(APPEND CORE_COMPILE_DEFS PLATFORM_RP2040)
28+
list(APPEND REACTORC_COMPILE_DEFS PLATFORM_RP2040)
2929
endif()
3030

3131
# Prepend all sources with platform

0 commit comments

Comments
 (0)