Skip to content

Commit

Permalink
Add comment for port cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Jun 27, 2023
1 parent 0104c96 commit 77773db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lwesp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ set(lwesp_include_DIRS
${CMAKE_CURRENT_LIST_DIR}/src/include
)

# Add system port to core if user defined
if (DEFINED LWESP_SYS_PORT)
set(lwesp_core_SRCS ${lwesp_core_SRCS} ${CMAKE_CURRENT_LIST_DIR}/src/system/lwesp_sys_${LWESP_SYS_PORT}.c)
set(lwesp_include_DIRS ${lwesp_include_DIRS} ${CMAKE_CURRENT_LIST_DIR}/src/include/system/port/${LWESP_SYS_PORT})
set(lwesp_core_SRCS ${lwesp_core_SRCS} ${CMAKE_CURRENT_LIST_DIR}/src/system/lwesp_sys_${LWESP_SYS_PORT}.c)
set(lwesp_include_DIRS ${lwesp_include_DIRS} ${CMAKE_CURRENT_LIST_DIR}/src/include/system/port/${LWESP_SYS_PORT})
endif()

# Register core library to the system
Expand Down

0 comments on commit 77773db

Please sign in to comment.