File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5656endif ()
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
6161target_include_directories (reactor-c PUBLIC ../include )
6262target_include_directories (reactor-c PUBLIC ../include /core)
Original file line number Diff line number Diff 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} " )
2020elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Nrf52" )
21- list (APPEND CORE_COMPILE_DEFS PLATFORM_NRF52)
21+ list (APPEND REACTORC_COMPILE_DEFS PLATFORM_NRF52)
2222elseif (${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 )
2525elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Stm32" )
2626 target_compile_definitions (core PUBLIC PLATFORM_STM32F4)
2727elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Rp2040" )
28- list (APPEND CORE_COMPILE_DEFS PLATFORM_RP2040)
28+ list (APPEND REACTORC_COMPILE_DEFS PLATFORM_RP2040)
2929endif ()
3030
3131# Prepend all sources with platform
You can’t perform that action at this time.
0 commit comments