Skip to content

Commit 5bea031

Browse files
committed
revert lfc.cmake
1 parent 0c3ba66 commit 5bea031

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmake/lfc.cmake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function(lf_build_generated_code MAIN_TARGET SOURCE_GEN_DIR)
6161
endif()
6262

6363
# Check if the Include.cmake file exists in SOURCE_GEN_DIR
64-
if (NOT EXISTS ${SOURCE_GEN_DIR}/${FEDERATE}/Include.cmake)
64+
if (NOT EXISTS ${SOURCE_GEN_DIR}/Include.cmake)
6565
message(FATAL_ERROR "Include.cmake does not exist in src-gen directory: ${SOURCE_GEN_DIR}/Include.cmake")
6666
endif()
6767

@@ -71,8 +71,5 @@ function(lf_build_generated_code MAIN_TARGET SOURCE_GEN_DIR)
7171
target_include_directories(${MAIN_TARGET} PRIVATE ${LFC_GEN_INCLUDE_DIRS})
7272
target_link_libraries(${MAIN_TARGET} PUBLIC reactor-uc)
7373
target_compile_definitions(reactor-uc PUBLIC LF_LOG_LEVEL_ALL=${LOG_LEVEL})
74-
target_compile_definitions(reactor-uc PUBLIC LF_LOG_LEVEL_FED=LF_LOG_LEVEL_INFO)
75-
target_compile_definitions(reactor-uc PUBLIC LF_LOG_LEVEL_NET=LF_LOG_LEVEL_INFO)
76-
#target_compile_definitions(reactor-uc PUBLIC LF_LOG_LEVEL_SCHED=LF_LOG_LEVEL_DEBUG)
7774
target_compile_definitions(reactor-uc PUBLIC ${LFC_GEN_COMPILE_DEFS})
7875
endfunction()

0 commit comments

Comments
 (0)