summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDirk Ziegelmeier <[email protected]>2018-10-08 21:18:18 +0200
committerDirk Ziegelmeier <[email protected]>2018-10-08 21:18:18 +0200
commita6dc31433e3f1e32ca6dd532ed829bba4fa8a375 (patch)
tree9e029c6d9bfec639fcc16c190ddf1c7cff2811dd /CMakeLists.txt
parentcba4e1f2a7e820af57d5c588ff6d64022be75891 (diff)
Restructure CMake build system a bit
This should be easier to use for application devlopers
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 563f583d..8ec3ebf8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,14 +4,13 @@ project(lwIP)
# Example lwIP application
set(LWIP_DIR ${CMAKE_CURRENT_SOURCE_DIR})
-include(${LWIP_DIR}/contrib/ports/CMakeCommon.cmake)
set (LWIP_DEFINITIONS LWIP_DEBUG=1)
if (${CMAKE_SYSTEM_NAME} STREQUAL Windows)
- add_subdirectory(${LWIP_CONTRIB_DIR}/ports/win32/example_app)
+ add_subdirectory(${LWIP_DIR}/contrib/ports/win32/example_app)
else()
- add_subdirectory(${LWIP_CONTRIB_DIR}/ports/unix/example_app)
+ add_subdirectory(${LWIP_DIR}/contrib/ports/unix/example_app)
endif()
# Source package generation