Commit b67694b0 authored by Oliver Horst's avatar Oliver Horst
Browse files

[fix] Compilation

parent ca11c248
......@@ -3,8 +3,10 @@
#include "lwip/xlwipconfig.h"
#ifndef __ASSEMBLER__
#include <limits.h>
#include <string.h>
#endif
/**
......
......@@ -25,4 +25,6 @@
*/
#define XLWIP_CONFIG_THREAD_STACKSIZE 1024
#define XLWIP_CONFIG_THREAD_PRIO (8 - 1)
#endif /* __XLWIPCONFIG_H_ */
......@@ -10,13 +10,26 @@ project(
LANGUAGES C ASM
)
find_package(
lwip-netif-xilinx-headers
REQUIRED
)
add_library(
lwip-netif-xilinx-config
#
INTERFACE
STATIC
""
)
target_link_libraries(
lwip-netif-xilinx-config
#
PRIVATE lwip-netif-xilinx-headers
)
add_subdirectory(src-gen)
......
......@@ -2,6 +2,8 @@
include(CMakeFindDependencyMacro)
find_dependency(lwip-netif-xilinx-headers)
# Import targets
include(${CMAKE_CURRENT_LIST_DIR}/lwip-netif-xilinx-config-targets.cmake)
......
......@@ -3,6 +3,6 @@ cmake_minimum_required(VERSION 3.7 FATAL_ERROR)
target_sources(
lwip-netif-xilinx-config
#
INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/xtopology_g.c>
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/xtopology_g.c"
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment